> TB is just a counter which increments at a constant rate up to a preset limit. When you pass a packet, you subtract its size from the counter. Or you drop the packet if it's larger than current count.
> So if the link is idle long enough for the counter to reach full bucket capacity, a burst up to full capacity in size can pass at once. You tune bucket capacity to be the maximum burst size you want to allow and the filling rate to be the maximum average bandwidth you want to allow.

After reading your reply, it is a bit clear to me. But how is leaky bucket different than token bucket? I would like to see a proper difference.
Exceprts taken from the book by Parag Havaldar on multimedia