Skip to content

Glossary: System Design Beyond the Basics

Token bucket

Also written: capacity, refill rate

A limiter where each key has a bucket of up to capacity tokens. Each request spends one and tokens refill at a steady rate, so a quiet client saves up a burst.

Where the book teaches it

Related terms

Leaky bucketRate limiter