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

High Availability

Staying up despite failures.

The idea

Remove single points of failure with redundancy and automatic failover.

Watch it work

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

ClientsVirtual IPPrimarySecondary
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Clients use one stable address.

step:
1/4
at:
Clients
1/11

The green dot is a request moving through the system.

Step by step

  1. 1Duplicate components
  2. 2Monitor health
  3. 3Fail over automatically
  4. 4Test regularly

Where it is used

Critical services.

Watch out for

Complexity and cost rise with each nine.

Related