Skip to content

Glossary: System Design Beyond the Basics in C++

Token bucket

Also written: bucket, TokenBucket

A limiter giving each key 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 bucketFixed window counterRate limiter