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. ...

Get RabbitMQ Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.