High availability support in RabbitMQ

RabbitMQ provides an extension of the default clustering mechanism that allows the replication of the contents of a queue over one or more nodes. It takes the active-active approach for establishing a highly available cluster, and you can select how many nodes to replicate a queue in a master-slave configuration (one node is designated as the master and all other nodes as the slaves):

  • Replicate to all nodes in the cluster
  • Replicate to a certain number of nodes in the cluster
  • Replicate to certain nodes in the cluster (specified as a list of node names)

In terms of RabbitMQ, this extension is called mirrored queues.

Note that there is an opportunity to establish an active-passive RabbitMQ cluster using helper technologies ...

Get Learning RabbitMQ now with O’Reilly online learning.

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