async-redis-rate-limiter
JSON →Fixed-window rate limiter for Node.js using a centralized Redis instance. Current stable version is 1.0.4 (released March 2022), with infrequent updates. It implements a fixed-window algorithm with millisecond precision, using only O(1) Redis operations for high performance (tested up to ~5.7M actions/minute locally). Unlike rolling-window limiters, it resets counters at window boundaries, which can allow bursts. Provides TypeScript types and promises-based API built on the 'redis' package v4+. Minimal dependencies (only @types/redis for TypeScript). Suitable for distributed systems (FaaS, microservices) requiring a centralized counter.
Traffic · last 30 days ↑0% vs prev 7d
total hits 23
actors 3 distinct systems
last hit 12d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · AE · 🇪🇸 Spain
Resources
packageasync-redis-rate-limiter ↗