A leaky bucket symbolizes a bucket with a small hole, allowing water (data) to go to the bottom. Since the top of the bucket has a larger diaphragm than the bottom, you can quickly pour water into it so that it goes out (so that the bucket fills up).
Basically, it is a buffer on the network between two links with different speeds.
Problem A
We can calculate that sending data will take 250 MB / (2.5 MB / s) = 100 s.
During this 100 seconds, the bucket will be retransmitted (leaked) 100 s * 2 MB / s = 200 MB
Thus, a bucket will require a minimum capacity of 250 MB - 200 MB = 50 MB, so as not to lose any data.
Problem B
Since the difference between the two data transfer rates is 2.5 MB / s - 2.0 MB / s = 0.5 MB / s, this means that the total bit is filled at 0.5 MB / s (when both lines transmit to full power).
Then you can calculate that 100 MB capacity will be full after a surge of 100 MB / 0.5 MB / s = 200 s = 3 m 20 s
source share