Need for Token Bucket Algorithm
- Video and audio conferencing require a bounded delay and loss rate.
- Video and audio streaming requires a bounded packet loss rate, it may not be so sensitive to delay.
- a -critical applications (real-time control) in which bounded delay is considered to be an important factor.
- Valuable applications should provide better services than less valuable applications.
Token Bucket Algorithm
The Token Bucket algorithm is a popular and simple method used in computer networking and telecommunications for traffic shaping and rate limiting. It is designed to control the amount of data that a system can send or receive in some sort of period, ensuring that the traffic conforms to a specified rate.
It refers to traffic control mechanisms that seek to either differentiate performance based on application or network-operator requirements or provide predictable or guaranteed performance to applications, sessions, or traffic aggregates. It is something that data flow seeks to attain.