Network scheduling algorithms

Leaky bucket

The leaky bucket is an algorithm based on an analogy of how a bucket with a constant leak will overflow if either the average rate at which water is poured in exceeds the rate at which the bucket leaks or if more water than the capacity of the bucket is poured in all at once. It can be used to determine whether some sequence of discrete events conforms to defined limits on their average and peak rates or frequencies, e.g. to limit the actions associated with these events to these rates or delay them until they do conform to the rates. It may also be used to check conformance or limit to an average rate alone, i.e. remove any variation from the average. It is used in packet-switched computer networks and telecommunications networks in both the traffic policing and traffic shaping of data transmissions, in the form of packets, to defined limits on bandwidth and burstiness (a measure of the unevenness or variations in the traffic flow). It can also be used as a scheduling algorithm to determine the timing of transmissions that will comply with the limits set for the bandwidth and burstiness applied by the network: see network scheduler. A version of the leaky bucket, the generic cell rate algorithm, is recommended for asynchronous transfer mode (ATM) networks in Usage/Network Parameter Control at user–network interfaces or inter-network interfaces or network-to-network interfaces to protect a network from excessive traffic levels on connections routed through it. The generic cell rate algorithm, or an equivalent, may also be used to shape transmissions by a network interface card onto an ATM network (i.e. on the user side of the user-network interface), e.g. to levels below the levels set for Usage/Network Parameter Control in the network to prevent it taking action to further limit that connection. The leaky bucket algorithm is also used in leaky bucket counters, e.g. to detect when the average or peak rate of random or stochastic events or stochastic processes, such as faults or failures, exceed defined limits. At least some implementations of the leaky bucket are a mirror image of the Token Bucket algorithm and will, given equivalent parameters, determine exactly the same sequence of events to conform or not conform to the same limits. However, there are at least two different descriptions of the leaky bucket that can and have caused confusion. (Wikipedia).

Leaky bucket
Video thumbnail

Water Leaking From Freezer – Solved!

Is your refrigerator leaking water from the freezer? In my case, this was due to a drainage port that was blocked with ice. The solution is to simply melt the ice to clear the blockage. Save yourself time and money and use this easy fix. [UPDATE] If you’ve followed the procedure outlin

From playlist Household DIY

Video thumbnail

Hydraulic cylinder with fixed piston

Green cylinder with machine table reciprocates. Pressure fluid is conducted into cylinder via holes on fixed piston rod. The hoses can be stationary. In case using holes on the cylinder the hoses have to move with the cylinder. The arrows show flows of pressure fluid.

From playlist Mechanisms

Video thumbnail

Vane Pump

http://www.mekanizmalar.com A rotary vane pump is a positive-displacement pump that consists of vanes mounted to a rotor that rotates inside of a cavity.

From playlist Pumps

Video thumbnail

Show Me Some Science! Can Crush

A metal can and a hose are filled with water, and the hose is lowered off of a second floor balcony. The water drains and the can is crushed! In a fluid, like air or water, the pressure is always greater on the bottom than on the top. This is because the weight of all of the fluid pushes

From playlist Show Me Some Science!

Video thumbnail

Best DIY Vacuum Chamber for Marshmallows (Maybe)

In this experiment place marshmallows in a DIY vacuum chamber you can lower the pressure around the marshmallow which causes the air inside them to leave, expanding the marshmallow, and then when the pressure increases in the jar the marshmallows quickly deflate and look old and wrinkled.

From playlist Shorts

Video thumbnail

Now You Know: Bursting Balloons

When you stick a needle in a balloon, the rubber tears—the balloon pops. But high-speed video reveals the details, and there are some surprises to be had. How does the rubber unzip as it tears? It’s different for a round balloon and a longer balloon-animal balloon. And if the balloon is fi

From playlist Now You Know

Video thumbnail

Lec 24 | MIT 14.01SC Principles of Microeconomics

Lecture 24: Government Redistribution Policy Instructor: Jon Gruber, 14.01 students View the complete course: http://ocw.mit.edu/14-01SCF10 License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 14.01SC Principles of Microeconomics

Video thumbnail

eurucamp 2015 - The Struggle to Stay Technical by Kinsey Ann Durham

The Struggle to Stay Technical by Kinsey Ann Durham Life is good. More and more people who never thought they could code, people of diverse backgrounds are learning to write Ruby and become full time developers. Outreach programs are doing an amazing job of getting these people into the c

From playlist eurucamp 2015

Video thumbnail

22. Government Redistribution and Taxation

MIT 14.01 Principles of Microeconomics, Fall 2018 Instructor: Prof. Jonathan Gruber View the complete course: https://ocw.mit.edu/14-01F18 YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP62oJSoqb4Rf-vZMGUBe59G- This lecture continues the discussion about equity and effi

From playlist MIT 14.01 Principles of Microeconomics, Fall 2018

Video thumbnail

8. Toward a 1D Device Model, Part II: Material Fundamentals

MIT 2.627 Fundamentals of Photovoltaics, Fall 2011 View the complete course: http://ocw.mit.edu/2-627F11 Instructor: Joseph T. Sullivan This lecture covers material properties affecting performance, including minority carrier diffusion length, minority carrier lifetime and mobility, recom

From playlist MIT 2.627 Fundamentals of Photovoltaics, Fall 2011

Video thumbnail

Chaotic Waterwheel

A waterwheel with leaky buckets undergoes chaotic motion. Our wheel is about 1 meter in diameter and was fabricated with wood in our shop. The little buckets are citronella candle holders with ¼” holes drilled out of the bottom. The sump pump was purchased from the local hardware store. A

From playlist Oscillations and Waves

Video thumbnail

BJT Overview - Learning Goals

https://www.patreon.com/edmundsj If you want to see more of these videos, or would like to say thanks for this one, the best way you can do that is by becoming a patron - see the link above :). And a huge thank you to all my existing patrons - you make these videos possible. In this video

From playlist Electronics I: Semiconductor Physics and Devices

Video thumbnail

OSB 2015 - Put Up or Shut Up: An Open Letter to Tech Companies Seeking Diverse Teams

Kronda Adair People from marginalized communities struggle to break into tech, clawing our way through a racist, sexist, classist, ableist system only to be fired, quit or just suffer in misery. I’ll explore what it really takes to create a workplace that is truly welcoming of everyone.

From playlist Open Source Bridge 2015

Video thumbnail

Lec 23 | MIT 14.01SC Principles of Microeconomics

Lecture 23: Equity and Efficiency Instructor: Jon Gruber, 14.01 students View the complete course: http://ocw.mit.edu/14-01SCF10 License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 14.01SC Principles of Microeconomics

Video thumbnail

21. Efficiency and Equity

MIT 14.01 Principles of Microeconomics, Fall 2018 Instructor: Prof. Jonathan Gruber View the complete course: https://ocw.mit.edu/14-01F18 YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP62oJSoqb4Rf-vZMGUBe59G- In this lecture, Prof. Gruber introduces the idea of equity

From playlist MIT 14.01 Principles of Microeconomics, Fall 2018

Video thumbnail

Not Enough Flush

Toilet Repair - Not Enough Flush

From playlist Lawn mower

Video thumbnail

Kid Empties Bottle - Funny Waterfall

Kid Empties Bottle Of Water and it looks like a waterfall.

From playlist Family Videos

Video thumbnail

The Inner Life of the Brain: Fear, Sex, and Violence - D. Anderson - 12/9/2020

Earnest C. Watson Lecture by Professor Anderson, "The Inner Life of the Brain: Fear, Sex, and Violence." Behaviors that are fundamental to animal survival, such as mating and the fight-or-flight response, are driven by internal emotional states. In humans, these brain states are subjectiv

From playlist Caltech Watson Lecture Series

Video thumbnail

Total Internal Reflection in Water "Bucket of Light"

A beam of laser light can be trapped inside a stream of water by suffering total internal reflection—the aquatic equivalent of a fiber optic cable. In our setup we have a 2-liter soda bottle with a hole cut into the side. The bottle is filled with water and a few drops of milk. A 5 mW HeNe

From playlist Light and Optics

Related pages

Fluid queue | Traffic shaping | Scheduling (computing) | Average | Queueing theory | Bandwidth (computing) | Network packet | Token bucket | Stochastic | Stochastic process | Generic cell rate algorithm | Network scheduler | Leaky bucket | FIFO (computing and electronics)