Fault Tolerance & Graceful Degradation
Assume parts are always failing; design so users barely notice.
Distributed SystemsIntermediate5 hrs4 key ideas · 4 applied designs
0%
your progressOverview
Assume parts are always failing; design so users barely notice.
Key ideas
- Timeouts everywhere; retries with exponential backoff and jitter; retry budgets to avoid storms.
- Circuit breakers fail fast when a dependency is down; bulkheads stop one tenant or feature sinking the rest.
- Degrade features in priority order instead of failing whole pages.
- Canary releases, feature flags and automatic rollback make bad deploys survivable.
Trade-offs
- Aggressive retries turn a partial outage into a total one.
- Every fallback path is code that must be tested and kept warm.
In the real world
Netflix Hystrix patternsGoogle SRE error budgetsProgressive delivery with Argo Rollouts
Keywords
Circuit breakersBulkheadsSLOsCanary