A token bucket is a rate limiter that holds up to tokens and gains tokens a second; a message may be sent only if a token is available, and sending it spends one. It allows bursts of up to messages and, over any interval of length , at most messages.
Quantitative Finance · Glossário