Skip to content
StackDecode
System Design
12. Reliability and Fault ToleranceAnimated

Active-Active Architecture

Several sites serve traffic at once.

The idea

Every site is live; if one fails, others absorb the load.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

ClientsLoad balancerNode A (live)Node B (live)
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Both nodes serve traffic at all times.

step:
1/4
at:
Clients
1/11

The green dot is a request moving through the system.

Step by step

  1. 1Run multiple sites
  2. 2Distribute traffic
  3. 3On failure shift load
  4. 4Keep data in sync

Where it is used

Global high availability.

Watch out for

Data conflicts and capacity headroom.

Related