Sliding window counter implementation based on Redis sorted sets
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.
Sliding window counter implementation based on Redis sorted sets
JavaMIT
Sliding window counter implementation based on Redis sorted sets
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.