Design an API Rate Limiter

Similar Posts:


If you are deploying an API, it is generally a best practice to have a relatively small rate limit for anonymous access and then force users to log in to obtain a higher rate limit.


Name Summary
A free tier or a premium tier  
Limit per count or per user  
Limit in client side or server side  

Key Parts

Name Example
3 Directions Of Implementing API rate-limiting Request Queues; Throttling; Rate-limiting Algorithms
Rate-limiting Algorithms Leaky Bucket; Fixed Window; Sliding Log; Sliding Window
Reference Link: Rate Limiting Part 1, Link: Rate Limiting Part 2
Reference Link: Rate-limiting strategies and techniques
Reference Github: simple-rate-limiters wikipedia: Rate limiting

Share It, If You Like It.

Leave a Reply

Your email address will not be published. Required fields are marked *