Rate Limiting
PronunciationRAYT LIM-it-ing
Definition
Limiting how many requests a user or app can send in a period of time, to stop abuse and protect the server.
Where you hear it
API design, security reviews, and "429 Too Many Requests" errors.
Examples
We apply rate limiting of 100 requests per minute per user.
You hit the rate limit, so wait a minute and retry.
After 100 calls in a minute, the API returns 429 until the window resets.
Common mistake
Limiting only by IP address. Many users share one IP, so also limit by account or API key.
Don't confuse with
Rate limiting is often confused with throttling; while rate limiting restricts the number of requests over a time window, throttling specifically controls the rate of data flow or processing speed to manage bandwidth.
Say it at work
- In a meeting or chat
We should implement rate limiting on the public endpoints to prevent our services from being overwhelmed by too many requests.
- In an email or ticket
I have updated the API configuration to include stricter rate limiting, which should resolve the performance issues we observed during peak hours.