Expand description
Tenant-scoped rate limiting using governor (GCRA algorithm)
Provides per-tenant rate limiting for API endpoints using the GCRA (Generic Cell Rate Algorithm) which is efficient and doesn’t require background maintenance threads.
§2025 Best Practices
- Uses governor crate for efficient GCRA implementation
- Per-tenant keyed rate limiting (by header or API key)
- Configurable quotas per tier
Structs§
- Tenant
Rate Limiter - Tenant-scoped rate limiter
Enums§
- Rate
Limit Tier - Rate limit tier for different tenant types