Process / pipelineTraffic shaping

Token Bucket Rate Limiting Algorithm

Token bucket is a simple and elegant algorithm for traffic shaping and rate limiting. A virtual bucket accumulates tokens at a fixed rate (the committed information rate). Incoming packets consume tokens (one token per byte); packets are transmitted only if sufficient tokens are available. If the bucket is full, excess tokens are discarded (no carry-over). Token bucket bounds peak rate and allows controlled bursts, making it ideal for traffic management in networks.

Open in MethodMindSoonVideoSoon

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Sources

  1. Turner, J. S. (1986). New directions in communications (or which way to the information age?). IEEE Communications Magazine, 24(10), 8-15. link
  2. Heinanen, J., Guerin, R., & May, A. (1999). A Single Rate Three Color Marker. RFC 2697. link

Related methods

Referenced by

ScholarGateToken Bucket (Token Bucket Rate Limiting Algorithm). Retrieved 2026-06-04 from https://scholargate.app/en/telecommunications/token-bucket