Interview Prep/SRE & Reliability/Release Engineering & Reliability Patterns

What is the difference between rate limiting and load shedding?

IntermediateConceptRelease Engineering & Reliability Patterns
Answer
  • Rate limiting caps how many requests a client, API key or tenant can make (for example 100 requests per second per key), returning 429. It enforces fairness and protects against abuse or bugs in one client.
  • Load shedding drops excess work when the service itself is near capacity, regardless of who sent it, returning 503 quickly, ideally dropping low-priority requests first.

Both keep the service within capacity so it can serve the remaining requests within SLO, instead of everyone timing out.

All SRE & Reliability questions

More on Release Engineering & Reliability Patterns