Chapter 7. Scaling RabbitMQ with clusters

This chapter covers

  • Cluster management
  • How queue location can impact performance
  • The steps involved in setting up a cluster
  • What to do when nodes crash

As a message broker, RabbitMQ is perfect for standalone applications. But suppose your application needs additional delivery guarantees that only highly available queues will satisfy. Or maybe you want to use RabbitMQ as a central messaging hub for many applications. RabbitMQ’s built-in clustering capabilities provide a robust, cohesive environment that can span multiple servers.

I’ll start by describing the features and behaviors of RabbitMQ clusters, and then you’ll set up a two-node RabbitMQ cluster in the Vagrant virtual machine (VM) environment. ...

Get RabbitMQ in Depth 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.