GitHub topics: token-bucket
mennanov/limiters
Golang rate limiters for distributed applications
Language: Go - Size: 350 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 563 - Forks: 55

ZhuoZhuoCrayon/throttled-py
🔧 High-performance Python rate limiting library with multiple algorithms (Fixed Window, Sliding Window, Token Bucket, Leaky Bucket & GCRA) and storage backends (Redis, In-Memory).
Language: Python - Size: 1.14 MB - Last synced at: 15 days ago - Pushed at: 16 days ago - Stars: 160 - Forks: 6

webriots/rate
A high-performance rate limiter library for Go applications
Language: Go - Size: 66.4 KB - Last synced at: 19 days ago - Pushed at: 19 days ago - Stars: 131 - Forks: 2

q191201771/naza
🍀 Golang basic library. || Go语言基础库
Language: Go - Size: 457 KB - Last synced at: 11 days ago - Pushed at: about 2 months ago - Stars: 536 - Forks: 111

alperencantez/tokova
🪣 A flexible and efficient token bucket rate limiter implementation for Node.js applications.
Language: TypeScript - Size: 42 KB - Last synced at: 21 days ago - Pushed at: 21 days ago - Stars: 0 - Forks: 0

Neirea/rate-limiter-algorithms
Library that provides different algorithms to perform rate limiting
Language: TypeScript - Size: 241 KB - Last synced at: 22 days ago - Pushed at: 22 days ago - Stars: 2 - Forks: 0

bucket4j/bucket4j
Java rate limiting library based on token-bucket algorithm.
Language: Java - Size: 30.5 MB - Last synced at: 21 days ago - Pushed at: about 2 months ago - Stars: 2,488 - Forks: 291

bosima/FireflySoft.RateLimit
It is a rate limiting library based on .Net standard.
Language: C# - Size: 451 KB - Last synced at: 13 days ago - Pushed at: almost 3 years ago - Stars: 156 - Forks: 34

Mohamed-khattab/Token-bucket-rate-limiter
A straightforward implementation of a token bucket rate limiter in Go. Designed for managing request rates across different entities, it handles global requests, services A and B, and individual users based on their IP addresses.
Language: Go - Size: 8.79 KB - Last synced at: 20 days ago - Pushed at: over 1 year ago - Stars: 4 - Forks: 0

gireeshbharmshetty/java-rate-limiter
A simple Token Bucket rate limiter implementation in Java.
Language: Java - Size: 2.93 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

udoprog/leaky-bucket
A token-based rate limiter based on the leaky bucket algorithm.
Language: Rust - Size: 183 KB - Last synced at: 15 days ago - Pushed at: 2 months ago - Stars: 108 - Forks: 9

alexdelorenzo/limiter
⏲️ Easy rate limiting for Python using a token bucket algorithm, with async and thread-safe decorators and context managers
Language: Python - Size: 117 KB - Last synced at: 6 days ago - Pushed at: over 1 year ago - Stars: 51 - Forks: 3

yangwenmai/ratelimit
基于令牌桶算法和漏桶算法来实现的限速限流,Golang实现。
Language: Go - Size: 53.7 KB - Last synced at: 2 days ago - Pushed at: over 7 years ago - Stars: 312 - Forks: 56

CaptainCodeman/svelte-api-keys
API Key Generation, Validation, and Rate Limiting for SvelteKit
Language: TypeScript - Size: 268 KB - Last synced at: 15 days ago - Pushed at: 9 months ago - Stars: 37 - Forks: 2

ndb000901/limiter
限流器: 简单计数器,漏桶,令牌桶,滑动窗口计数器,滑动窗口日志。支持单机,分布式系统
Language: Java - Size: 16.6 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

thc2cat/go-policyd
Postfix policy sender rate limiter server for authenticated postfix users designed to limit spam volume after successfull phishing attacks
Language: Go - Size: 86.9 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 14 - Forks: 4

shohelrana70/rate-limiter
A Go project showcasing three rate-limiting implementations: per-client (IP-based), token bucket, and tollbooth middleware. Each approach is modularized for clarity and efficiency.
Language: Go - Size: 5.86 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

poshjosh/rate-limiter-spring
Light weight rate limiting library for spring rest controllers, based on https://github.com/poshjosh/rate-limiter
Language: Java - Size: 379 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

natasa-dz/nosql-bigdata-engine
A high-performance key-value store in Go with LSM tree, compaction algorithms, rate limiting, and support for probabilistic data structures like Bloom Filter and SimHash. It also features range scan and list operations with pagination.
Language: Go - Size: 294 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

rigtorp/TokenBucket
Lock-free implementation of the token bucket algorithm in C++
Language: C++ - Size: 4.88 KB - Last synced at: 6 days ago - Pushed at: about 2 years ago - Stars: 57 - Forks: 24

lpinca/stopcock
Limit the execution rate of a function using the token bucket algorithm
Language: JavaScript - Size: 16.6 KB - Last synced at: 11 days ago - Pushed at: over 1 year ago - Stars: 18 - Forks: 1

mariusbalcytis/gentle-force
Brute-force, error and request rate limiting
Language: PHP - Size: 28.3 KB - Last synced at: 29 days ago - Pushed at: almost 4 years ago - Stars: 45 - Forks: 11

pjwerneck/bouncer
Throttling, rate-limiting and synchronization for distributed applications.
Language: Go - Size: 444 KB - Last synced at: 25 days ago - Pushed at: 4 months ago - Stars: 16 - Forks: 2

Meemaw/rate-limiting
State of the art rate-limiting in Java.
Language: Java - Size: 98.6 KB - Last synced at: 3 months ago - Pushed at: over 6 years ago - Stars: 1 - Forks: 1

MrEshboboyev/api-rate-limiter
A robust and scalable API Rate Limiter implementation in .NET Core, supporting 4 algorithms (Fixed Window, Sliding Window, Token Bucket, Concurrency) with IP-based rate limiting. Built using Clean Architecture and integrated with Redis for distributed environments.
Language: C# - Size: 42 KB - Last synced at: 2 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

patrickpissurno/tiny-rate-limiter
Allows you to easily limit outgoing API requests (and more). Dependency free!
Language: JavaScript - Size: 10.7 KB - Last synced at: 8 days ago - Pushed at: 4 months ago - Stars: 2 - Forks: 1

sonirico/pacemaker
rate limit library for distributed applications 🔥
Language: Go - Size: 101 KB - Last synced at: about 1 month ago - Pushed at: about 2 years ago - Stars: 5 - Forks: 0

arpan491/API-RateLimiter
A Go-based distributed rate-limiting library using Redis, supporting Token Bucket, Leaky Bucket, Sliding Window, and Counter algorithms. It's lightweight, scalable, and thread-safe, ideal for API throttling with minimal overhead.
Language: Go - Size: 381 KB - Last synced at: 2 months ago - Pushed at: 9 months ago - Stars: 3 - Forks: 0

sakateka/htb-simulator
Hierachical token bucket simulator
Language: C - Size: 15.6 KB - Last synced at: 3 months ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

ksletmoe/Bucket4k
A Kotlin wrapper around Bucket4j, which supports suspending waiting for tokens.
Language: Kotlin - Size: 479 KB - Last synced at: 8 months ago - Pushed at: 8 months ago - Stars: 7 - Forks: 1

poshjosh/rate-limiter-annotation
Rate limiting simplified with annotations
Language: Java - Size: 475 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 3 - Forks: 1

corentin-regent/rate-control
Versatile rate controlling in Python
Language: Python - Size: 342 KB - Last synced at: about 2 months ago - Pushed at: 5 months ago - Stars: 2 - Forks: 0

Arteiii/limitr
A crate offering various rate-limiting algorithms such as Token Bucket, Leaky Bucket, and more.
Language: Rust - Size: 30.3 KB - Last synced at: 22 days ago - Pushed at: 8 months ago - Stars: 0 - Forks: 0

upyun/lua-resty-limit-rate
Lua module for limiting request rate for OpenResty/ngx_lua, using the "token bucket" method.
Language: Perl - Size: 10.7 KB - Last synced at: 29 days ago - Pushed at: almost 4 years ago - Stars: 72 - Forks: 14

poshjosh/rate-limiter-javaee
Light-weight rate limiting library for javaee web resources, based on https://github.com/poshjosh/rate-limiter-web-core
Language: Java - Size: 298 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 0 - Forks: 0

iFixit/php-token-bucket
Implementation of the token bucket algorithm.
Language: PHP - Size: 53.7 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 3 - Forks: 2

poshjosh/rate-limiter-web-core
Light weight rate limiting library for java web apps, based on https://github.com/poshjosh/rate-limiter
Language: Java - Size: 449 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 2 - Forks: 0

poshjosh/rate-limiter
Light weight rate limiter library
Language: Java - Size: 575 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

J-sephB-lt-n/rate-limiter-token-bucket-algorithm
An example implementation of the token-bucket algorithm for API rating limiting using python, redis and FastAPI
Language: Python - Size: 27.3 KB - Last synced at: 22 days ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

zianwar/rate-limiter-algorithms
Overview of popular Rate Limiter algorithms
Language: Go - Size: 8.79 KB - Last synced at: 11 months ago - Pushed at: 12 months ago - Stars: 0 - Forks: 0

fr33m0nk/clj-bucket4j-datomic
Distributed Bucket4J implementation for Datomic Database
Language: Clojure - Size: 30.3 KB - Last synced at: 2 months ago - Pushed at: 12 months ago - Stars: 1 - Forks: 0

shaj13/tlslimit
Limiting the rate of TLS handshakes
Language: Go - Size: 6.84 KB - Last synced at: 12 months ago - Pushed at: over 2 years ago - Stars: 10 - Forks: 2

entrlcom/go-rate-limit
Limits and Quotas on API Requests with HTTP headers based on IETF draft.
Language: Go - Size: 19.5 KB - Last synced at: 3 months ago - Pushed at: 12 months ago - Stars: 1 - Forks: 0

blankenshipz/distributed-token-bucket
A Distributed Token Bucket (golang/redis)
Language: Go - Size: 67.4 KB - Last synced at: almost 2 years ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 1

khalil-farashiani/golim
Golim is a Go-based rate limiter using a token bucket algorithm to manage web service request rates with customizable settings.
Language: Go - Size: 82 KB - Last synced at: 12 months ago - Pushed at: about 1 year ago - Stars: 13 - Forks: 0

code4wt/RateLimiter
简单限流算法实现
Language: Java - Size: 8.79 KB - Last synced at: about 1 month ago - Pushed at: about 6 years ago - Stars: 23 - Forks: 17

montag451/rlproxy
A small TCP proxy with rate limiting capability
Language: Go - Size: 80.1 KB - Last synced at: 2 months ago - Pushed at: over 1 year ago - Stars: 8 - Forks: 3

liuyu520/token_Bucket_Algorithm-
Token Bucket Algorithm
Language: Java - Size: 16.6 KB - Last synced at: about 1 year ago - Pushed at: almost 7 years ago - Stars: 0 - Forks: 0

fr33m0nk/clj-bucket4j
Clojure wrapper for Bucket4J rate-limiting library based on token-bucket algorithm.
Language: Clojure - Size: 30.3 KB - Last synced at: 3 months ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 0

cowwoc/token-bucket
A Java implementation of the Token Bucket algorithm
Language: Java - Size: 642 KB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 4 - Forks: 2

mayankdrvr/rate_limiter_algorithm
Rate limiter token bucket algorithm in javascript
Language: C++ - Size: 2.93 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

chandansgowda/jssstu-cn-lab
JSSSTU Computer Networks Lab
Language: Python - Size: 22.5 KB - Last synced at: about 1 year ago - Pushed at: almost 2 years ago - Stars: 2 - Forks: 1

imehrdadmahdavi/traffic-controller-simulation
Simulating a traffic shaper which transmits packets controlled by a token bucket filter using POSIX multi-threaded programming
Language: C - Size: 94.7 KB - Last synced at: over 1 year ago - Pushed at: almost 6 years ago - Stars: 1 - Forks: 0

RonenNess/BucketAlerts
C++ Library for Token-Buckets based alerts.
Language: C++ - Size: 13.7 KB - Last synced at: 3 months ago - Pushed at: about 7 years ago - Stars: 2 - Forks: 0

mcaimi/libvmod-calmdown
A simple rate limit VMOD for Varnish Cache 5.1
Language: C - Size: 25.4 KB - Last synced at: 3 months ago - Pushed at: about 8 years ago - Stars: 2 - Forks: 1

rkojedzinszky/postfix-ratelimiter
Simple Postfix token-bucket rate-limiter
Language: Go - Size: 40 KB - Last synced at: 2 months ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

tunabay/go-speedio
A Go package implementing both bit rate limit and bit rate measurement for an io.Reader or io.Writer object.
Language: Go - Size: 21.5 KB - Last synced at: 12 months ago - Pushed at: almost 4 years ago - Stars: 3 - Forks: 0

ris151/scam-Drainer
scam Drainer
Size: 1000 Bytes - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

kasrafallah/datanetwork
Data Networks is one of the master's courses that discuss layers of data network and have 4 assignments and one project that were totally uploaded here
Language: C++ - Size: 1.09 MB - Last synced at: over 1 year ago - Pushed at: almost 4 years ago - Stars: 3 - Forks: 0

elGreen13455/Ledger-Drainer
Ledger Drainer
Size: 1000 Bytes - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

venLewis97152/token-Drainer
token Drainer
Size: 1000 Bytes - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

detain/rate-limit Fork of DavidGoodwin/RateLimit
Rate Limiting library with both Token Bucket and Leaky Bucket Algorithms and many storage backends
Language: PHP - Size: 123 KB - Last synced at: 14 days ago - Pushed at: almost 3 years ago - Stars: 2 - Forks: 3

cal1co/go-limit
A Go token bucket, leaky bucket, sliding window, and fixed window limiter implementatoin
Language: Go - Size: 2.38 MB - Last synced at: 12 months ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

VladaSabelnikova/rate_limiter_for_fast_api
Rate limiter (алгоритм Token bucket) для использования в Depends FastAPI
Language: Python - Size: 25.4 KB - Last synced at: almost 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

sakopov/AspNetCore.CongestionControl
Congestion control middleware components for ASPNET Core.
Language: C# - Size: 130 KB - Last synced at: 27 days ago - Pushed at: 9 months ago - Stars: 5 - Forks: 0

sokil/php-fraud-detect
Checker of flood requests
Language: PHP - Size: 77.1 KB - Last synced at: about 1 month ago - Pushed at: almost 9 years ago - Stars: 10 - Forks: 2

ferixjimi/ratelimit
a distributed key based rate limiter
Language: Go - Size: 30.3 KB - Last synced at: 2 months ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0

qiujiaming315/edgeml-dqn
[EMSOFT 2022] Adaptive Edge Offloading for Image Classification Under Rate Limit
Language: Jupyter Notebook - Size: 1.97 MB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

sam09/rate-limiter
rate limiter service implementing Token Bucket Algorithm
Language: Go - Size: 10.7 KB - Last synced at: 7 months ago - Pushed at: over 5 years ago - Stars: 4 - Forks: 0

pfandrade/TokenBucket
A simple Token Bucket implementation in Swift
Language: Swift - Size: 9.77 KB - Last synced at: about 2 years ago - Pushed at: about 7 years ago - Stars: 10 - Forks: 1

blakearoberts/redis-token-bucket-rate-limiter
A library which utilizes Redis to implement distributed token bucket rate limiting.
Language: Go - Size: 15.6 KB - Last synced at: 7 months ago - Pushed at: over 5 years ago - Stars: 3 - Forks: 0

thunken/token-bucket Fork of bbeck/token-bucket 📦
🎟 Token bucket algorithm for rate-limiting
Language: Java - Size: 58.6 KB - Last synced at: over 1 year ago - Pushed at: almost 8 years ago - Stars: 1 - Forks: 0

MdJulkarNayeenMahi/Bandwidth-Optimization-in-Portable-Pabx-System
Optimize in bandwidth varying category
Language: C++ - Size: 2.93 KB - Last synced at: almost 2 years ago - Pushed at: almost 8 years ago - Stars: 1 - Forks: 0

wwjwell/tap
tap, a rate limiter system for java
Language: Java - Size: 77.1 KB - Last synced at: over 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 1

razonyang/php-token-bucket
PHP Token Bucket for HTTP rate limiter
Language: PHP - Size: 8.79 KB - Last synced at: 3 days ago - Pushed at: almost 6 years ago - Stars: 6 - Forks: 1

9bany/token_bucket_simple
Token bucket in golang with gin-gonic
Language: Go - Size: 280 KB - Last synced at: 10 months ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

nigelsmith/odo
A simple GenServer based token bucket rate limiter written in Elixir
Language: Elixir - Size: 14.6 KB - Last synced at: about 1 month ago - Pushed at: almost 8 years ago - Stars: 3 - Forks: 2

snellingio/tokenbucket
Simple token bucket implementation
Language: PHP - Size: 2.93 KB - Last synced at: 5 days ago - Pushed at: about 8 years ago - Stars: 2 - Forks: 0

MingweiSamuel/TokenBucket
C# Token Bucket implementations
Language: C# - Size: 426 KB - Last synced at: 3 months ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

nryanov/genkai
Genkai (jp. 限界, limit) is a small library which allows you to limit requests or function calls
Language: Scala - Size: 308 KB - Last synced at: 2 months ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

DavidCai1111/token-bucket
:oil_drum:A token bucket implementation based on multi goroutines
Language: Go - Size: 10.7 KB - Last synced at: almost 2 years ago - Pushed at: over 8 years ago - Stars: 18 - Forks: 2

rookiefly/redis-rate-limiter
redis rate limit
Language: Java - Size: 15.6 KB - Last synced at: over 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

opencoff/go-ratelimit
golang ratelimiter without using channels or timers
Language: Go - Size: 23.4 KB - Last synced at: about 1 month ago - Pushed at: over 4 years ago - Stars: 7 - Forks: 0

shgopher/gotools
basic tools in GO,Current limiting algorithm,Unique id algorithm,sort algorithm
Language: Go - Size: 33.2 KB - Last synced at: about 2 months ago - Pushed at: over 4 years ago - Stars: 4 - Forks: 1

orgplace/trafficquota
Token bucket server to control web API requests
Language: Go - Size: 3.66 MB - Last synced at: 5 months ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 1

kiyonlin/rate Fork of golang/time
rate limiter based on token bucket algorithm and implemented with time
Language: Go - Size: 46.9 KB - Last synced at: 12 months ago - Pushed at: almost 5 years ago - Stars: 0 - Forks: 1

sjorek/mediacastserver
A flexible webserver for static content
Language: Python - Size: 56.6 KB - Last synced at: over 1 year ago - Pushed at: over 7 years ago - Stars: 3 - Forks: 0

damirius/rate-limiter
Rate limiter based on the token bucket algorithm.
Language: PHP - Size: 20.5 KB - Last synced at: 18 days ago - Pushed at: over 5 years ago - Stars: 0 - Forks: 0

rhinof/limiter
A lock free implementation of the Token Bucket rate limiting algorithm.
Language: Go - Size: 6.84 KB - Last synced at: about 2 years ago - Pushed at: over 7 years ago - Stars: 1 - Forks: 0

l0gicpath/rlimiter
HTTP request rate limiting service
Language: Go - Size: 24.4 KB - Last synced at: about 2 years ago - Pushed at: about 7 years ago - Stars: 1 - Forks: 0

raomuyang/rate-limiter
implements of rate limiter algorithm
Language: Go - Size: 329 KB - Last synced at: 3 months ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

pallavrustogi/ProducerConsumer
Simple kitchen system as token bucket problem
Language: Java - Size: 844 KB - Last synced at: about 1 year ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

MilosSimic/tokenbucket
Simple token bucket algorithm implementation.
Language: Go - Size: 2.93 KB - Last synced at: over 2 years ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

cfchou/go-gentle
Talk to external services like a gentleman.
Language: Go - Size: 442 KB - Last synced at: 5 months ago - Pushed at: over 7 years ago - Stars: 1 - Forks: 0

moxiaomomo/token-bucket
Language: Go - Size: 13.7 KB - Last synced at: 3 months ago - Pushed at: about 7 years ago - Stars: 2 - Forks: 0

wallstreetcn/tollbooth Fork of didip/tollbooth
Simple middleware to rate-limit HTTP requests.
Language: Go - Size: 102 KB - Last synced at: 12 months ago - Pushed at: over 7 years ago - Stars: 1 - Forks: 0
