Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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 is required. Since RabbitMQ does not use indexes and the immediate messaging answer is required, HaProxyprovides an efficient and yet simple to maintain solution.

To set up HAProxy for your RabbitMQ cluster, follow these steps:

...