All designs
Building block · Mid-level · by System Design AI
Token Bucket Rate Limiter
A bucket of tokens per key, refilled at a fixed rate, with refill-and-take done atomically in one place so every server agrees.
rate-limitertoken-bucketredisluabuilding-block
Checking your sign-in…
- The full diagram on an interactive canvas
- What it is made of, what it costs and how it fails
- Download as .excalidraw and make it your own