Skip to content
StackDecode
System Design
18. Advanced Distributed ArchitectureAnimated

Resilient Distributed Architecture

Designing for failure at every layer.

The idea

Combine redundancy, isolation, timeouts, retries, backpressure and graceful degradation.

Watch it work

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

Chaos toolService AService BMonitoring
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Define a steady-state hypothesis: "checkout works".

step:
1/4
at:
Monitoring
1/8

The green dot is a request moving through the system.

Step by step

  1. 1Assume everything fails
  2. 2Isolate failures
  3. 3Degrade gracefully
  4. 4Test with chaos experiments

Where it is used

Critical systems.

Watch out for

Resilience features can interact badly if untested.

Related