backendnetworkingsystem-design
A token bucket separates bursts from steady rate
Anonymous
A token bucket allows short bursts up to its capacity while limiting the long-run rate. Each request spends a token; tokens refill over time. Set capacity for the burst size you can handle and a refill rate for sustained load.
0