O'Reilly logo

RabbitMQ Cookbook by Sigismondo Boschi, Gabriele Santomaggio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introducing a load balancer to consumers

In order to have a RabbitMQ cluster with many nodes, the clients must know all the IP addresses, and if the cluster configuration is dynamic, the clients should be notified of any change.

Furthermore, the clients should employ some methods to contact the clients that are less loaded.

The common solution is to put a load balancer in front of the cluster.

A load balancer can be either a hardware solution or a software package, installed and configured on general purpose servers.

Furthermore, there are many different load balancing techniques, the following being the most relevant:

  • Round-robin name servers
  • TCP load balancers

TCP load balancers can behave as follows:

  • Proxy: In this case, all the connections are just ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required