Difference between token bucket and leaky bucket algorithm
Answers
Answered by
3
Token bucket : it is the token dependent algorithm and waste the token in case of bucket is full in such a way that the packet are kept unharm. In the token bucket if the number of packets are quite enough only then packets are allowed to transfer. It also send the burst along with the saving of token.
Leaky Bucket: it does not dependent on the token but in this bucket the whole packets are discarded whenever there is bucket is full. Also, it ensure the packets transmission on the continuous pattern.
Leaky Bucket: it does not dependent on the token but in this bucket the whole packets are discarded whenever there is bucket is full. Also, it ensure the packets transmission on the continuous pattern.
Answered by
1
The token bucket algorithm is utilized in packet switched telecommunication networks and computer networks. It helps to check that the data transmissions conform to the defined limits on burstiness and bandwidth.
While the leaky bucket algorithm is a way of storing a variable number of requests temporarily in an asynchronous transfer mode network and organizing them into a set-rate output of packets. This algorithm is used for traffic shaping and traffic policing in cellular data networks and Ethernet.
Similar questions