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