Glossary: System Design Beyond the Basics in JavaScript
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.