[rabbitmq-discuss] load balancing for consummer

Matthew Sackman matthew at lshift.net
Sat Aug 22 11:19:37 BST 2009


Hi Benoît,

On Sat, Aug 22, 2009 at 11:54:30AM +0200, Benoit Chesneau wrote:
> it workss well,but if rabbitmq server hangs all the app hangs. Seem
> I'm unable to catch the EXIT message from channel gen_serv,  I've the
> idee to setup a rabbitmq cluster and if one node fails just use
> another using a list of connexions. I odn't know if it's possible.
> Obviously I should the same on the sender. Any idee ow I could simply
> do some loadbalancing to another rabbitmq node ? If I could catch the
> EXIT part I may eventually be abble  to do that. Maybe there are
> better solution.

One initial question I have is how are you seeing RabbitMQ hang? Is it
repeatable under a certain loading, or is it more random? If the server
is just really busy it's possible the channel is simply blocked on a
call of some sort, so it's not really exiting - do you have evidence
that the channel really is dying?

Matthew




More information about the rabbitmq-discuss mailing list