Dec 25, 2022
rate limiter
What is the rate limiter?
What is the rate limiter?
What are the benefits of using an API rate limiter?
1. prevent resource starvation
2. reduce cost
3. prevent servers from being overloaded
algorithms
• Token bucket
• Leaking bucket
• Fixed window counter
• Sliding window log
• Sliding window counter
leaking bucket
leaking bucket
fixed window counter
fixed window counter
sliding window log
sliding window log
sliding window counter
sliding window counter
By undefined
15 notes ・ 19 views
English
Beginner