Quick Decision Rule: When Downstream database latency spikes 10x during a flash sale and upstream API threads exhaust memory while clients hammer retries, choose Fail fast with priority load shedding (preserve checkout, shed low-priority analytics), bounded queues, and exponential backoff + jitter.
| Trigger Condition | Downstream database latency spikes 10x during a flash sale and upstream API threads exhaust memory while clients hammer retries |
|---|---|
| Recommended Choice | Fail fast with priority load shedding (preserve checkout, shed low-priority analytics), bounded queues, and exponential backoff + jitter |
| Classic Trap | Unbounded queues and immediate blind retries amplify load (retry storms), turning a brief slowdown into a full cascading outage across every tier. |
| Verification | Audited on 2026-11-23 · Distributed Systems Core · 2026 |
30-SECOND DECISION TRAP CHECK · RELIABILITY
During a brief 10-second DB failover, API gateway queues grow to 200,000 requests and mobile clients immediately retry every 500ms. Even after the DB recovers, the whole platform stays down for 40 minutes. What breaks the metastable failure?
Unbounded queues and synchronized retries cause retry storms (metastable failures). Load shedding, bounded queues, and jittered backoff let the system recover cleanly.
Trap: Adding infinite queues and aggressive retries makes overloaded systems stay down long after the root cause recovers.