RabbitMQ & AMQP (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)
Disaster Recovery and Multi-Region Topology.
senior LevelSystem Design
In Simple Words: Because RabbitMQ clustering requires low-latency LAN (<10ms) and does not tolerate WAN cross-region latency:
- Cross-Region Disaster Recovery Topology:
- Run independent RabbitMQ clusters in
us-east-1(Primary) andus-west-2(DR). - Connect them via Dynamic Shovel or Federated Exchanges.
- On primary region outage, failover DNS to
us-west-2where messages replicated via Shovels are immediately available for consumption.
- Run independent RabbitMQ clusters in