Resilience LineLesson
Timeouts — capping the wait
Without a timeout a slow dependency holds the caller's threads and connections until everything fails; pick one from the dependency's percentiles, inside your own deadline.
9 minMediumStation: TimeoutsMembers lesson
Membership isn’t open yet. The free lessons are open — 16 of them.
- Failure modes & availability
- Timeouts
- Retries with backoff and jitter
- Circuit breaker
What you'll be able to do
- 1Choose a timeout from a dependency's latency percentiles and the caller's own time budget.
- 2Diagnose a cascading failure caused by missing timeouts.
Inside the lesson
- steps
- 6
- questions
- 8
- simulations
- 0
More on the Resilience Line
- Failure modes and availabilityOpen9 min
- Retries — with backoff and jitterMembers12 min
- Circuit breakerMembers10 min
- Bulkhead — walls between workloadsMembers12 min
- Load shedding — turning the excess awayMembers12 min
- Backpressure — a queue that says noMembers11 min
- Rate limiting — a budget for each callerMembers12 min