Pidoku
6Resilience Patterns

Archive

This learning material is in the archive. It is not currently maintained and has not been updated with the latest information, so tool versions, prices and dates may be out of date.

Resilience Patterns

Module 66 lessons~5h 10m

Lessons, in order

About this module

Every dependency will eventually be slow or down. This module covers the patterns that keep one failure from becoming everyone’s failure: deadlines, retries with backoff and jitter, circuit breakers and bulkheads, rate limiting and load shedding, and graceful degradation and shutdown — and the two failure modes they exist to prevent, cascading and metastable failure.

Every lesson has a Go program that simulates the failure and the fix, so you can see the numbers change.

#LessonThe question it answers
6.aTimeouts and DeadlinesHow long should you wait, and how does a deadline travel across services?
6.bRetries, Backoff and JitterWhen do retries help, when do they cause outages, and how do you make them safe?
6.cCircuit Breakers and BulkheadsHow do you stop calling something that is failing, and keep one failure contained?
6.dRate Limiting and Load SheddingHow does a service protect itself from more work than it can do?
6.eCascading and Metastable FailuresWhy do some outages spread, and why do some not stop when the trigger is gone?
6.fGraceful Degradation and ShutdownHow does a service do less instead of nothing, and stop without dropping requests?

↑↓ navigate↵ openesc close

100% drag to pan · scroll or pinch to zoom · double-click to zoom in