For a rate limiting library for Go applications, the strongest matches are uber-go/ratelimit (This library provides a robust Go-native implementation of the), didip/tollbooth (This library provides Go-native HTTP middleware for rate limiting) and ulule/limiter (This library provides Go-native HTTP middleware for rate limiting). beefsack/go-rate is also worth a look. Each is ranked by relevance to your query, popularity and recent activity.
Wir kuratieren Open-Source GitHub Repositories passend zu „best go rate limiting libraries“. Die Ergebnisse sind nach Relevanz für deine Suche sortiert — nutze die Filter unten oder verfeinere die Suche mit KI.
This is a Go library that implements a leaky-bucket algorithm to control the frequency of operations and requests per second. It serves as a concurrent request throttler that blocks calling threads until request slots become available to maintain a steady execution rate. The project includes a traffic burst controller that allows the accumulation of unspent request capacity, permitting short-term spikes in volume while maintaining a defined long-term average rate. The library provides capabilities for operation frequency limiting, request interval enforcement, and application resource protec
This library provides a robust Go-native implementation of the leaky-bucket algorithm for request throttling and traffic control, though it focuses on local execution rather than distributed rate limiting.
Simple middleware to rate-limit HTTP requests.
This library provides Go-native HTTP middleware for rate limiting that supports customizable windows and in-memory storage, making it a direct fit for implementing traffic control in your applications.
This library provides Go-native HTTP middleware for rate limiting that supports both in-memory and distributed storage backends like Redis, making it a direct fit for your traffic control needs.
This library provides a token bucket implementation for rate limiting in Go, serving as a foundational tool for controlling traffic flow within your applications.