dkduckkit.dev

Glossary

Leaky bucket

The leaky bucket algorithm processes requests at a constant output rate, queueing incoming requests in a buffer when they arrive faster than the output rate. Excess requests overflow the bucket and are dropped. Unlike a token bucket — which allows burst up to capacity — leaky bucket enforces a smooth output rate regardless of input burst patterns. Some vendor docs use “leaky bucket” interchangeably with token bucket; verify whether shaping or metering is meant.

Formula: Output drains at steady rate; queue depth caps how much burst can buffer before drops.

Related tools

See also

Last updated: March 2026