Type Definition ratelimit_meter::algorithms::DefaultAlgorithm
source · pub type DefaultAlgorithm = LeakyBucket;
Expand description
The default rate limiting algorithm in this crate: The “leaky bucket”.
The leaky bucket algorithm is fairly easy to understand and has
decent performance in most cases. If better threaded performance
is needed, this crate also offers the
GCRA
algorithm.