[KongchangAI]
ConceptToken Bucket

Token Bucket Algorithm

A traffic shaping algorithm that controls request rates by maintaining a fixed-capacity token bucket. It is commonly used for API rate limiting and network traffic management.

Timeline (last 90 days)

Oct 14

The quota and rate limiting layer usually uses the token bucket or leaky bucket algorithm, with counters stored in high-speed caches such as Redis, using atomic operations to ensure no over-issuance under concurrency.

Unverified50%
Sep 8

Tiered rate limiting typically relies on token bucket algorithms or sliding window counters to achieve dynamic resource adjustment.

Unverified50%

All Facts (3)

Source Articles