Wrapping a RateLimiterRedis with many RateLimiterQueues
See original GitHub issueWe have a situation where we want to rate limit actions on individual record IDs. Rate limiter queue on top of a Redis limiter handles this job for us, but we need it to consume per record ID however current RateLimiterQueue calls consume with a hardcoded limiter name
Any chance to make _key
parametric in queue constructor or a removeTokens
overload with _key
parameter so that we can dynamically use many granular queues over a single limiter instance?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
node-rate-limiter-flexible - Bountysource
Wrapping a RateLimiterRedis with many RateLimiterQueues $ 0 ... Created 2 years ago in animir/node-rate-limiter-flexible with 3 comments. ... Any chance to make ......
Read more >The node-rate-limiter-flexible from animir - Coder Social Home
Wrapping a RateLimiterRedis with many RateLimiterQueues. We have a situation where we want to rate limit actions on individual record IDs.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍 @animir Feels great, Thank you for your promising efforts on this nice handy project. I enjoy using your little sexy designed module ❤️ Let me check this & let you know!
Sorry for my late response, I tested against latest version yesterday and it now serves me as expected. Great job @animir 👍