27 Resources
Golang limiter Libraries
Easy-to-use distributed multi-function current limiter.
go-limiter Easy-to-use distributed multi-function current limiter. Installation Run the following command under your project: go get -u github.com/NIC
Redis-rate-limiter - An abstraction over redist rate/v9 package
RATE_LIMIT_POC Notes This POC is based on github.com/go-redis/redis_rate/v9 pack
Simple-request-limiter - Example of limiting API requests using standard Go library
Route: http://localhost:8080/urls example of body in POST request that was used:
Go rate limiter used to ensure a minimum duration between executions.
Ratelimiter Rate limiter used to ensure a minimum duration between executions. Additionally supports the optional limit of max queue size. This can be
concurrency-limiter allows you to limit the number of goroutines accessing a resource with support for timeouts
concurrency-limiter allows you to limit the number of goroutines accessing a resource with support for timeouts , dynamic priority of goroutines and context cancellation of goroutines.
Emailing with optional limiter.
lmail Emailing with optional limiter. It will send no more then limiterMax emails during limiterPeriod if you set WithLimiter = true. An emails with W
Emailing with optional limiter.
limmail Emailing with optional limiter. It will send no more then limiterMax emails during limiterPeriod. Install go get github.com/kaibox-git/limmail
Lemail - Emailing with optional limiter.
lemail Emailing with optional limiter. It will send no more then limiterMax emails during limiterPeriod. Install go get github.com/kaibox-git/lemail
A rate limiters package for Go
equalizer A rate limiters package for Go. Pick one of the rate limiters to throttle requests and control quota. Equalizer Slider TokenBucket Equalizer
Golang rate limiters for distributed applications
Distributed rate limiters for Golang Rate limiters for distributed applications in Golang with configurable back-ends and distributed locks. Any types
Redis-based rate counter and rate limiter
rerate rerate is a redis-based ratecounter and ratelimiter Dead simple api With redis as backend, multiple rate counters/limiters can work as a cluste
A rate limiter for Golang, with ETCD data bindings
Go Rate limiter This package allows us to have a distributed rate limiter, using Redis as a central counter. The limits that are set are only "soft" l
Common rate-limiter implementations
Overview An example Rate Limiter library used to control the rate that events occur, but these can also be used as thresholds that should replenish ov
A rate limiter for the gin framework
GinRateLimit GinRateLimit is a rate limiter for the gin framework. By default, it can only store rate limit info in memory. If you want to store it so
A very simple rate limiter in go, made as a learning project to learn go and rate limiting patterns!
rate-limiter-go A very simple rate limiter in go, made as a learning project to learn go and rate limiting patterns! Demo: Running the project: To exe
Opinionated boilerplate Golang HTTP server with CORS, OPA, Prometheus, rate-limiter for API and static website.
Teal.Finance/Garcon Opinionated boilerplate HTTP server with CORS, OPA, Prometheus, rate-limiter… for API and static website. Origin This library was
Opinionated boilerplate Golang HTTP server with CORS, OPA, Prometheus, rate-limiter for API and static website.
Teal.Finance/Server Opinionated boilerplate HTTP server with CORS, OPA, Prometheus, rate-limiter… for API and static website. Origin This library was
A concurrent rate limiter library for Golang based on Sliding-Window rate limiter algorithm.
ratelimiter A generic concurrent rate limiter library for Golang based on Sliding-window rate limitng algorithm. The implementation of rate-limiter al
Golimit is Uber ringpop based distributed and decentralized rate limiter
Golimit A Distributed Rate limiter Golimit is Uber ringpop based distributed and decentralized rate limiter. It is horizontally scalable and is based
Go package for rate limiter collection
rlc A rate limiter collection for Go. Pick up one of the rate limiters to throttle requests and control quota. RLC Slider TokenBucket RLC RLC is a rat
A timed rate limiter for Go
go-rate go-rate is a rate limiter designed for a range of use cases, including server side spam protection and preventing saturation of APIs you consu
Simple, thread-safe Go rate-limiter
RateLimit Simple, thread-safe Go rate-limiter. Inspired by Antti Huima's algorithm on http://stackoverflow.com/a/668327 Example package main import (
Efficient token-bucket-based rate limiter package.
ratelimit -- import "github.com/juju/ratelimit" The ratelimit package provides an efficient token bucket implementation. See http://en.wikipedia.org/w
Dead simple rate limit middleware for Go.
Limiter Dead simple rate limit middleware for Go. Simple API "Store" approach for backend Redis support (but not tied too) Middlewares: HTTP, FastHTTP
Dead simple rate limit middleware for Go.
Limiter Dead simple rate limit middleware for Go. Simple API "Store" approach for backend Redis support (but not tied too) Middlewares: HTTP, FastHTTP
🚦 Semaphore pattern implementation with timeout of lock/unlock operations.
🚦 semaphore Semaphore pattern implementation with timeout of lock/unlock operations. 💡 Idea The semaphore provides API to control access to a shared