Home▸Networks & Graph Theory▸Leaky Bucket Traffic Shaping: Burst Absorption, Constant Output Rate and Packet Loss

Leaky Bucket Traffic Shaping: Burst Absorption, Constant Output Rate and Packet Loss

Feed a bursty packet source into a leaky bucket and watch the bucket smooth the traffic to a constant output rate. Change the leak rate, bucket size, mean load and burstiness to see when a burst fits in the bucket, when packets overflow and what loss is unavoidable under sustained overload. A Blender-built pail, chute and receiver rack, with numerical checks against fluid formulas and an exact Markov chain.

Networks & Graph Theory3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Leaky Bucket Traffic Shaping: Burst Absorption, Constant Output Rate and Packet Loss ↗ Open standalone

Feed a bursty packet source into a leaky bucket and watch the bucket smooth the traffic to a constant output rate. Change the leak rate, bucket size, mean load and burstiness to see when a burst fits in the bucket, when packets overflow and what loss is unavoidable under sustained overload. A Blender-built pail, chute and receiver rack, with numerical checks against fluid formulas and an exact Markov chain.

⚙ Under the hood

Feed a bursty packet source into a leaky bucket and watch the bucket smooth the traffic to a constant output rate. Change the leak rate, bucket size, mean load and burstiness to see when a burst fits in the bucket, when packets overflow and what loss is unavoidable under sustained overload. A Blender-built pail, chute and receiver rack, with numerical checks against fluid formulas and an exact Markov chain.

leaky buckettraffic shapingrate limitingnetworkingqostoken bucketcongestion controlalgorithmsLeaky BucketTraffic ShapingQueueingPacket LossNetwork Congestion

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)