Excerpt |
---|
HaProxy with load balancing and keepalive options enabled could be used to provide high availability of your RabbitMQ cluster. 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 appliedis required.
Since RabbitMQ does not use indexes , and the immediate messaging answer is required, we should apply the most HaProxyprovides an efficient and yet simple to maintain solution.In this case HaProxy is applied with load balancing and keepalive options enabled.
To set up HAProxy for your RabbitMQ cluster, follow these steps:
...