System Design ($200k+) · RELIABILITY · Distributed Systems Core · 2026

Priority Load Shedding & Backpressure vs Unbounded Retry Queues

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 ConditionDownstream database latency spikes 10x during a flash sale and upstream API threads exhaust memory while clients hammer retries
Recommended ChoiceFail fast with priority load shedding (preserve checkout, shed low-priority analytics), bounded queues, and exponential backoff + jitter
Classic TrapUnbounded queues and immediate blind retries amplify load (retry storms), turning a brief slowdown into a full cascading outage across every tier.
VerificationAudited on 2026-11-23 · Distributed Systems Core · 2026

30-SECOND DECISION TRAP CHECK · RELIABILITY

Test your instinct

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?

Primary Engineering Documentation

Related Reliability Decision Guides