Backend & APIs
Token bucket explained: set average rate and burst capacity
A token bucket controls average traffic by letting requests consume tokens that refill at a configured rate. It also permits a short burst up to the bucket's capacity. Set refill rate and capacity separately to control sustained traffic and bursts.