Chapter 4. Clustering

So far, we have been dealing with a single RabbitMQ instance, thus demonstrating the various capabilities of the message broker. However RabbitMQ provides a built-in clustering mechanism that can be used in a variety of scenarios related to large scale production deployments of RabbitMQ.

Topics covered in the chapter:

  • Benefits of clustering
  • Clustering support in RabbitMQ
  • A case study on scaling the CSN

Benefits of clustering

So far we have discussed how to use a single RabbitMQ instance for handling various types of message. However, in many production scenarios the number of messages that needs to be processed may increase rapidly over time that this should not impact the time required to process a single message – now we have ...

Get Learning RabbitMQ 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.