Module limits

Module limits 

Source
Expand description

Limits and rate limiting for Sentinel proxy

This module implements bounded limits for all resources to ensure predictable behavior and prevent resource exhaustion - core to “sleepable ops”.

Structs§

ConnectionGuard
RAII guard for connection slots
ConnectionLimiter
Connection limiter for managing concurrent connections
ConnectionStats
Connection statistics
Limits
System-wide limits configuration
MultiRateLimiter
Multi-level rate limiter for different scopes
RateLimiter
Token bucket rate limiter implementation