In the network layer, before the network can make Quality of service guarantees, it must know what traffic is being guaranteed. One of the main causes of congestion is that traffic is often bursty. To understand this concept first we have to know little about traffic shaping. Traffic Shaping is a mechanism to control the amount and the rate of traffic sent to the network. Approach of congestion ma
![Computer Network | Leaky bucket algorithm - GeeksforGeeks](https://cdn-ak-scissors.b.st-hatena.com/image/square/db3b2a0fe1ec57453b2b50152db3c2ef1934ebae/height=288;version=1;width=512/https%3A%2F%2Fmedia.geeksforgeeks.org%2Fwp-content%2Fcdn-uploads%2Fgfg_200x200-min.png)