Token bucket ratelimiting with various refill strategies
This crate provides token bucket ratelimiting implementations. The typical use-case would be to control the rate of requests or other actions.
This particular implementation allows for setting a refill strategy for the token bucket. This allows for creating noise in the interval between additions of tokens into the bucket. By doing this, we can create workloads that are bursty and can more closely mirror production workload characteristics.
rustcommon is built with the standard Rust toolchain which can be installed and managed via rustup or by following the directions on the Rust website.
bash
cargo doc --open
Create a new issue on GitHub.
A full list of [contributors] can be found on GitHub.