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

Graceful Degradation

Keep core features working when parts fail.

The idea

Show cached or reduced content instead of an error.

Watch it work

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

UserWeb appRecommendationsProduct data
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

The page needs product data and recommendations.

step:
1/4
at:
User
1/11

The green dot is a request moving through the system.

Step by step

  1. 1Detect a failing dependency
  2. 2Switch to a fallback
  3. 3Disable non-essential features
  4. 4Restore when healthy

Where it is used

User-facing apps.

Watch out for

Decide the priorities before the outage.

Related