Rate Limiting - Simplified
What is rate limiting ?
Nothing, but a technique to protect a system from excessive or malicious requests that could overload servers, degrade performance, or lead to denial-of-service (DoS) attacks.
HTTP Response Status Code 429. Read more.
Image Credits: https://www.wallarm.com/what/rate-limiting
Token bucket algorithm
The token bucket algorithm is widely used for rate limiting. It is straightforward, easily understood, and frequently utilized by online businesses.
Following is how the token bucket algorithm operates: