Chapter 7. Warrens and Shovels: failover and replication


This chapter covers

  • Understanding active/standby pairs (warrens)
  • Creating warrens with load balancers
  • Building long-distance replication using Shovel


So far when we’ve talked about high availability, it’s always been in the context of RabbitMQ’s built-in clustering. But clustering isn’t the only way to build resiliency into your Rabbit infrastructure, and depending on your needs it’s not always the right way either. Clustering makes you trade the benefit of all the nodes acting as single unit to distribute the load for the drawback of not being able to use durable queues on downed nodes until the nodes are restored. Also, clustering won’t give you what you need to build a RabbitMQ ...

Get RabbitMQ in Action: Distributed messaging for everyone now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.