Reliabilitymetastable statesustained overload

Metastable failure

Definition

A metastable failure is a state in which a system, pushed past capacity by a temporary trigger, stays overloaded because a sustaining effect (retries, cache misses, queue backlogs) keeps demand above capacity.

In practice

Systems often run in a stable but vulnerable state: fine at normal load, but one spike away from collapse. A trigger such as a brief network blip, a deploy or a cold cache pushes them over, then the sustaining loop takes over. Timed-out requests are retried, a cleared cache sends every read to the database, and a backlog of stale work wastes capacity. Removing the trigger does not help.

Recovery usually needs an action that breaks the loop: shedding load hard, disabling retries, draining queues or adding capacity well above normal. Prevention means removing amplifiers (retry budgets, jitter, request coalescing) and keeping enough headroom that a spike does not cross the tipping point.

Example

A 30-second cache outage sends all reads to the database, which slows to 2 s per query; clients time out at 1 s and retry, so even after the cache returns, database load stays at 3× capacity until retries are switched off.