Graceful degradation & backpressure
Serve stale, drop non-critical work, adaptive concurrency limits, priority queues. A system that degrades in a designed order is the mark of mature SRE.
The mental model
A restaurant kitchen on a Saturday night does not stop serving when it gets slammed. It degrades in a planned order. First the specials come off the menu. Then garnishes get simpler. Then, if it is truly overwhelmed, the host stops seating new tables so the people already inside get fed. What it never does is try to cook every order perfectly at once, collapse, and send everyone home hungry. The kitchen has decided in advance what to sacrifice and in what sequence, so that under overload it delivers a degraded-but-acceptable experience instead of a total failure.
Graceful degradation is that planned menu for your service under stress. When a dependency is slow or you are over capacity, you do not try to serve every request perfectly and fall over. You shed the least-important work first, serve stale data instead of failing, and drop features rather than dropping the whole page. Backpressure is the mechanism that makes this possible: a way for an overloaded component to push back on its callers — "slow down, I am full" — instead of silently accepting work it cannot finish and dying with a full queue.
The WHY is the most counterintuitive fact in reliability: *an overloaded system without admission control gets slower, not just saturated, and eventually delivers near-zero useful work. Every request that times out still consumed a connection, a thread, some memory, and some CPU on its way to failing — so as load rises past the knee, you spend all your capacity on requests that will time out before you answer them. Goodput (successful work per second) collapses toward zero even though the machine is "100% busy". A system that degrades gracefully stays on the good side of that knee by refusing* work it cannot complete, which is why saying no fast is a feature, not a failure. The mark of mature SRE is a system that degrades in a designed order rather than an emergent, random one.
- Deep dive
- Internal architecture
- Real-world use cases
- Best practices
- Common mistakes
- Performance
- Security
- Production troubleshooting
- Advantages & disadvantages
- Alternatives
- Interview expectations
- Interview questions
- Facts to remember
- Cheat sheet
- Quick revision