๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Expand description
This module contains TokenBucket, which provides ability to limit
rate of certain events, while allowing bursts through.
KeyedRateLimiter allows to rate-limit multiple keyed items, such
as connections.
Structsยง
- Keyed
Rate Limiter Deprecated - Provides rate limiting for multiple contexts at the same time
- Token
Bucket Deprecated - Enforces a rate limit on the volume of requests per unit time.