Preparing for system design interviews?  Try bugzed.com →

redis-token-bucket-ratelimiter

JSON →
library 0.5.1 ·javascript
verified Jun 7, 2026

A rolling token bucket rate limiter implemented via a Lua script in Redis for atomic operations. v0.5.1 is the latest stable version. It supports ioredis (including Redis Cluster) and node-redis clients. Key differentiator: uses a Lua script to prevent blocked actions from subtracting from the bucket and ensures consistency, even with concurrent requests. Ideal for Node.js applications needing precise rate limiting with Redis.

total hits 7
actors 2 distinct systems
last hit 20d ago Bingbot
GPTBot
3
Search engines
1
Humans
3

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada