Featured for this topicSystem Design · Design a rate limiter
Design a rate limiter: token bucket vs sliding log
A rate limiter answers one question per request: allow or reject? The interesting parts are the algorithm and keeping counts consistent across many servers.
needcode team20 Nov 2026 · 1 min read