🪣 The Leaky Bucket Algorithm: Smoothing Bursty Network Traffic
Explore how the leaky bucket algorithm turns bursty, unpredictable network traffic into a smooth, constant-rate stream for traffic shaping and rate limiting.
This simulator demonstrates how a leaky bucket absorbs bursty, irregular input traffic and releases it downstream at a fixed, constant rate, showing the bucket fill level and any overflow in real time.
🔬 What It Demonstrates
This simulator demonstrates how a leaky bucket absorbs bursty, irregular input traffic and releases it downstream at a fixed, constant rate, showing the bucket fill level and any overflow in real time.
🎮 How to Use
Adjust the incoming traffic pattern and burst intensity, set the bucket capacity and leak rate, then watch how the bucket level rises and falls and how overflow is handled as traffic streams in.
💡 Did You Know?
Did you know the leaky bucket algorithm was formally defined for ATM telecom networks decades before it became a go-to technique for shaping API traffic on the modern web?
Explore how the leaky bucket algorithm turns bursty, unpredictable network traffic into a smooth, constant-rate stream for traffic shaping and rate limiting.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install