Reliabilitypriority sheddingadmission control

Load shedding

Definition

Load shedding is the rejection of incoming work based on the server's current load (queue length, concurrency, latency or CPU) rather than a fixed per-client rate.

In practice

An overloaded server that accepts everything serves everyone slowly and often no one successfully, because requests time out after the work is done. Shedding the excess early, with a cheap 503 or 429, keeps latency for accepted work inside its deadline. Priority shedding drops low-value traffic first, such as prefetches and background jobs, before checkout or login.

Shedding survives overload; it does not end it, which takes more capacity or less demand. Rejections must be cheap, otherwise rejecting becomes the new bottleneck, and clients must back off rather than retry instantly. Unlike rate limiting, load shedding protects capacity but is not fair between clients.

Example

An API rejects new requests with 503 and Retry-After: 2 once more than 200 are in flight, but always admits requests carrying the priority: critical header used by checkout.