Skip to content
StackDecode
System Design
1. System Design FundamentalsAnimated

Single Point of Failure (SPOF)

One component whose failure brings the whole system down.

The idea

If everything depends on one server, database or network link, that thing is a SPOF. Add redundancy so no single failure is fatal.

Watch it work

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

RequestRouterCopy ACopy BCopy C
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Keep more than one copy of every critical component.

step:
1/4
at:
Request
1/9

The green dot is a request moving through the system.

Step by step

  1. 1Draw every dependency
  2. 2Mark components with no backup
  3. 3Add replicas or failover
  4. 4Test that the backup really takes over

Where it is used

Reviewing any design for risk.

Watch out for

The SPOF you forget: DNS, a certificate, a shared config store, or one person.

Related