[ 
https://issues.apache.org/jira/browse/JAMES-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678314#comment-17678314
 ] 

Benoit Tellier commented on JAMES-3876:
---------------------------------------

Hello Adrian,

I think such kind of load-balancing can only be done if the MX have the same 
priorities (MX servers should pick the highest).

If several MXs have top priority then I agree that doing roundRobin is 
desirable. 

In addition to this behaviour, we could add an option to RemoteDelivery: 
ignoreMXPriorites, defaulting to false. Combined with the above behaviour this 
would do what you describe.

Patch welcome. Don't hesitate to ask if you want help in order to fix this.

Best regards,

Benoit

> RoundRobin for Remote Delivery if mutiple  gateway server are defined
> ---------------------------------------------------------------------
>
>                 Key: JAMES-3876
>                 URL: https://issues.apache.org/jira/browse/JAMES-3876
>             Project: James Server
>          Issue Type: New Feature
>          Components: Remote Delivery
>    Affects Versions: 3.8.0
>            Reporter: Adrian Bucher
>            Priority: Major
>
> Currently you are able to define multiple gateway server in remote delivery, 
> the first system is always the first that RemoteDelivery tries to reach. if 
> it is not reachable it will take the second as failover, the next message it 
> will send again to the first defined host first.
> It would be nice to also have the posibility to round robin over the defined  
> gateway server so the load is more balanced. In the case of a failure it will 
> still try to send it to all defined target hosts.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to