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

Chapter 6. Developing Scalable Applications

In this chapter we will cover:

  • Creating a localhost cluster
  • Creating a simple cluster
  • Adding a RabbitMQ cluster automatically
  • Introducing a load balancer to consumers
  • Creating clients of the cluster

Introduction

RabbitMQ provides, among the various features, clustering capabilities.

Using clustering, a group of properly configured hosts will behave the same as a single broker instance with the following purposes:

  • High availability: If one node is shut down, the distributed broker still accepts and serves messages. These aspects will be treated in depth in Chapter 7, Developing High-availability Applications.
  • Scalability of the load of messages: Message routing is distributed among all the nodes of the cluster. ...

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