[rabbitmq-discuss] Load balancing connections to a rabbitmq cluster
srinath.c at gmail.com
Sun Feb 23 12:57:59 GMT 2014
Thanks MK for the prompt reply.
I understand that haproxy load balances the incoming connections. But what
about the case where all the connections are established on only one node
(due to failure of the other node). Can it redistribute the connections
when the failed rabbitmq node comes up?
On Sun, Feb 23, 2014 at 6:16 PM, Michael Klishin <
michael.s.klishin at gmail.com> wrote:
> 2014-02-23 16:18 GMT+04:00 Srinath C <srinath.c at gmail.com>:
> when the failed node recovers it will remain up and running with no
>> connections established to it since all the clients are having persistent
>> connections to the other node. The load is now skewed and all the load is
>> thrust on one server with the other server lying idle. Are there common
>> solutions to this kind of load sharing problems? Please advice.
> Stick HAproxy in front of the cluster and make clients connect to it. It
> can load balance incoming
> connections and keep track of the backend (node) states and won't send
> connections to the backends
> that are unavailable.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss