Rate-Limiting Algorithms: Token Bucket Against Sliding Window

2 weeks ago 32
Club.noww.in
Every public API eventually meets a client that sends too much, too fast. A rate limiter is the bouncer at the door. However, “allow 100 requests per minute” can mean quite different things, depending on the algorithm you choose. In this article, we compare the two most popular choices, the token bucket and the sliding …
Read Entire Article