Glossary term
What is token bucket? Meaning for developers
A bucket that fills at a steady speed. Each request takes one token. Short bursts are allowed up to the bucket size, but the average rate stays fixed.
Learn it properly · Practical Design ProblemsLesson 2: Design a Rate LimiterToken bucket, leaky bucket, fixed and sliding windows, where to apply limits, 429 with Retry-After, and the new RateLimit headers.