Currently, the Rate Limiter uses global map lock, a single std::shared_mutex, to guard access to entire buckets map.
Refactor the locking strategy to allow per-bucket concurrency instead of global locking. This allows independent clients to proceed without blocking each other.
Currently, the Rate Limiter uses global map lock, a single std::shared_mutex, to guard access to entire buckets map.
Refactor the locking strategy to allow per-bucket concurrency instead of global locking. This allows independent clients to proceed without blocking each other.