4 ms·
A more efficient (but no histogram) way would be native redis module (rust) https://github.com/brandur/redis-cell https://github.com/brandur/redis-cell
by ddorian43 8y ago
A more efficient (but no histogram) way would be native redis module (rust) https://github.com/brandur/redis-cell https://github.com/brandur/redis-cell
- zaroth 8y agoInteresting option for higher performance with a single command (lower latency). However, this does not appear to work in a cluster.
- dreampeppers99 8y agoThe OP solution requires a single tcp rtt. https://github.com/leandromoreira/nginx-lua-redis-rate-measuring#pipeline-and-hash-tag https://github.com/leandromoreira/nginx-lua-redis-rate-measu...
- Rafert 8y agoblog post by the author about the algo: https://brandur.org/rate-limiting https://brandur.org/rate-limiting