[rabbitmq-discuss] Load balancing connections to a rabbitmq cluster

Michael Klishin michael.s.klishin at gmail.com
Sun Feb 23 12:46:13 GMT 2014


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.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140223/682ed740/attachment.html>


More information about the rabbitmq-discuss mailing list