Rate limit
A cap on requests per second. Going over it gets a quick error instead of slowing everyone down, which keeps a spike from taking the whole system with it.
See it in action
These lessons put rate limit to work. Read one, then play it and watch what happens without it.
- Say no to a flood: Tickets go on sale: 9,000 req/s hit your 2 app servers, and the budget can't buy a third. You can't answer everyone,…
- Shape the data and the API: You're building a shop. With bots included, 9,000 req/s arrive, far more than your two servers can answer. Before the…
- Flipkart: the sale opens: When Big Billion Days opened in 2026, Flipkart reported 6.3 million people on it at once. You're running one hundredth…
- The burst at the window edge: A public API: 12,000 req/s, most of it scrapers. Your gateway lets 7,000 a second through, which 4 servers can carry.…