Skip to content

Latest commit

 

History

History
8 lines (4 loc) · 342 Bytes

File metadata and controls

8 lines (4 loc) · 342 Bytes

Sliding window counter using Redis

It uses ZSET data type of Redis to count for every key. Multiple increments in a millisecond is supported.

There are 2 implementations for Node.js and Java.

Originally forked from https://github.com/chriskinsman/redis-ratelimit