Throttled is a Go library and middleware package for enforcing rate quotas and request thresholds on HTTP endpoints. It provides tools for tracking web request rates over specific time windows to control access frequency and manage traffic spikes. The core request evaluation relies on a token-bucket algorithm with sliding counters backed by fast memory stores, supplemented by pluggable storage backends for state persistence. Incoming requests are identified and grouped using flexible visitor-key parsers based on IP addresses, API keys, or custom parameters. The package integrates directly w
Las características principales de codemodus/chain son: HTTP Middleware.
Las alternativas de código abierto para codemodus/chain incluyen: throttled/throttled — Throttled is a Go library and middleware package for enforcing rate quotas and request thresholds on HTTP endpoints.… codemodus/catena. didip/tollbooth — Simple middleware to rate-limit HTTP requests. github/go-fault. go-on/wrap. carbocation/interpose.