Skip to content

Resilience

Patterns that keep a service standing when its dependencies fail, slow down or get more traffic than they can take.

6 guides110 min in totalSystem patterns

The guides, in order

Read them top to bottom: each one builds on the ones before. The ones you've read carry a check.

About this group

What you'll find
Circuit breaker, retries with backoff and jitter, timeouts with deadline propagation, bulkheads, rate limiting and idempotency keys.
It's for you if…
in a design interview you get asked "what if that service goes down or slows down?" and don't know what to say.
How each guide works
Each guide explains the problem, the solution and an analogy, with a diagram, pseudocode and code in TypeScript, Python and PHP. It also covers when to apply it, its trade-offs, how it fails and how to mitigate that, and when and how to bring it up in an interview.