Tuesday, December 10, 2019

Differentiate between leaky bucket and token bucket methods of traffic shaping

Differentiate between leaky bucket and token bucket methods of traffic shaping





Sr no.
Token Bucket
Leaky Bucket
1
Token bucket is token dependent.
Leaky bucket is token independent. 
2
Block diagram token bucket.
Block diagram of leaky bucket. 
3
If bucket is full token are discarded but not the packet.
If bucket is full packet or data is discarded.
4
Token bucket allows for large bursts to be sent faster by speeding up the output.
Leaky bucket sends the packets at an average rate.
5
Token bucket allows saving up of tokens (permission) to send large bursts.
Leaky bucket does not allow saving a constant rate is maintained.
6
Packets can only Transmitted when there are enough token. 
Packet are transmitted continuously.
7
It  save token.
It is does not save token.

0 comments:

If you have any doubts,please let me know