Excerpt |
---|
The need of a load balancing proxy in front of the RabbitMQ cluster is presented due to the fact that sometimes the serving member of the cluster either looses connection or fails to serve and the message is lost. A load balancing solution with “awarness” of the state of the cluster members must be applied. Since RabbitMQ does not use indexes, the immediate messaging answer is required, we should apply the most efficient and yet simple to maintain solution. |
...
Using HaProxy with load balancing and keepalive options enabled provides that solution and installation details are provided. |
To set up HAProxy for your RabbitMQ cluster, follow these steps:
...