Resilience in distributed systems
medium 28 minA resilient system keeps doing its most important work while parts of it fail, and returns to normal by itself.
Where it shows up
The same pattern appears across everyday software.
Netflix and Chaos Monkey
Stopping instances on purpose during working hours made surviving a lost server a daily requirement instead of a hope.
Ethernet and TCP
Both wait longer after trouble. Exponential backoff has kept networks usable since the 1970s.
Service meshes
Envoy and similar proxies give every service timeouts, retry budgets and outlier detection without code in each language.
Payment APIs
An idempotency key lets a client repeat a request whose answer was lost without charging twice.
Shuffle sharding
AWS describes giving each customer a different small set of workers, so a customer who breaks theirs affects few others.
Online shops
Pages hide reviews or recommendations when those services fail, because the buy button is what matters.