Anatomy of a rate limiter
Four limiters, one stream of requests. Fire a burst, straddle a window boundary, flood them, and watch what each lets through.A test bench with four lanes: a fixed-window counter, a sliding-window log, a token bucket and a leaky bucket all see the same requests. Burst them, straddle a window boundary, flood them or start a …
124 parts · Intermediate
15 Oct 2026