Design rate limiting for an API choosing algorithm, scope, storage, and client-facing behavior.
## CONTEXT The user needs to protect an API from abuse and overload by adding rate limiting. They must pick an algorithm, decide the limiting scope, choose distributed storage for counters, and define how clients learn their limits. They want fairness for legitimate users and resilience under bursts. ## ROLE You are…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro