Concept
Rate limiting
Rate limiting caps how many requests a client may make in a period of time. It protects a shared service from one caller taking more than its share, whether through a bug, a script or an attack. A refused request should say so clearly and say when to try again.
Where you'll see it
Related concepts
Sources: How we built rate limiting capable of scaling to millions of domains (Cloudflare, 2017) ↗ · Scaling your API with rate limiters (Stripe, 2017) ↗ · Report a problem
The definition is in our own words; the sources are those of the lesson Fixed vs sliding window.