Active-Passive vs. Active-Active Failover¶
Scaffold
This MicroSim has been scaffolded from its specification. The interactive implementation has not been built yet.
Learning Objective¶
TBD
- Bloom Level: TBD
- Bloom Verb: TBD
- Library: vis-network
Preview¶
Specification¶
The full specification below is extracted from Chapter 16: Observability, Reliability, and Cloud Operations.
Type: Interactive simulation
**sim-id:** failover-architecture-explorer<br/>
**Library:** vis-network<br/>
**Status:** Specified
**Purpose:** Animated comparison of active-passive and active-active multi-region architectures showing traffic routing, replication flows, and failover behavior.
**Nodes:**
- Region A (primary): load balancer, app tier, database primary
- Region B (standby/secondary): load balancer, app tier, database replica
- DNS layer (global)
- Client nodes (5 geographic locations)
**Modes:**
- Active-Passive: all traffic → Region A; replication arrows to Region B; "Simulate Failure" button triggers animated failover sequence showing DNS cutover and passive→active promotion
- Active-Active: traffic split across regions; write routing arrows to primary database; replication arrows bidirectional
**Display:** RTO/RPO indicators update dynamically based on replication lag slider and failover time configuration.