hyperlane-plugin-rate-limit 23.1.0

A 64-way sharded lock-free atomic GCRA and fixed-window rate limiter plugin for the Hyperlane framework with extensible KeyExtractor and RateLimitStore traits and RFC RateLimit headers.
Documentation
1
2
3
4
use super::*;

/// Zero-allocation hash map used inside each rate-limiter shard.
pub(crate) type RateLimitShardMap = HashMap<String, BucketEntry, BuildHasherDefault<FxHasher>>;