Skip to main content
PProfileMatch
← Path

Rate Limiting · Designing Rate Limit Policies: Bursts, Fairness and Abuse Handling

0 XP
  1. 1 current stop: learning
  2. 2 upcoming
  3. 3 upcoming
  4. 4 upcoming
  5. 5 upcoming

Finish after stop 5

Stop 1 of 5 · Shared bike-hire kiosk at lunch hour

Trick to keep in mind+3 XP

A global limit guards the server; a per-tenant limit guards the neighbours.

One global budget is a pool anyone can drain. If a single tenant grabs it first, everyone else queues behind an empty pool even though the server is perfectly protected. Giving each tenant its own cap, checked before the shared budget, keeps one heavy user from consuming the others' share.

Read it once, then a question tests whether the trick stuck.