GM.RateLimiting
Distributed rate limiting for the GM.* ecosystem. A provider-agnostic IRateLimiterService with policy-based checks (TryAcquireAsync(key, policy)) and three per-policy algorithms — fixed window, sliding window, and token bucket. Counters live in GM.Caching so limits hold across every service instance (unlike ASP.NET Core's per-process limiter), and the check-and-increment is made atomic by a swappable store (default backed by GM.DistributedLock). Composable key strategies (per-user / per-API-key / per-IP / per-endpoint), policies from appsettings or fluent code, and a 429-friendly result (limit / remaining / retry-after). One call — AddGMRateLimiting() — to wire it up.
Activity
- Latest release
- 2w ago
- Total releases
- 2
- Cadence
- ~26 days
- Last 12 months
- 2
Details
- License
- MIT
- First release
- Aug 05, 2026
Releases
| Version | Released | |
|---|---|---|
1.0.1
patch
| ||
1.0.0
initial
|