bottleneck
bottleneck copied to clipboard
Job scheduler and rate limiter, supports Clustering
As far as I know the sliding window log technique gives the best accuracy having only one disadvantage in relatively high memory consumption, which is OK for API clients. We...
We're throttling the requests to adapt to the server's policies. Our goal is to display the remaining requests and inform our users in case they've exceeded the limit. Instead of...
Is there an ability to replace a task or to cancel one? The use case here is receiving multiple updates before previous ones were able to execute. In some cases,...
## Feature request Have a parameter `reservoirRefreshTime` where we can specify a time of the day when the reservoir should be replenished. ## Why The goal is to be able...
Earlier we had a conversation about integrating the limiter with a queue. I couldn't wrap my head around how exactly I would need it to work. I've finally figured that...
Could you consider add cron/recurring job support? It would be great. Thank you!
This looks like a great library, but unfortunately it appears I can't use it. I'm using [react-rails](https://github.com/reactjs/react-rails) (with webpacker) to run React components in the frontend of a Rails app....
I am calling UpdateSettings() right after creating in the group in order to make sure that settings changes will be applied after redeploying. Unfortunately it seems like `updateSettings()` doesn't have...
Hi! Would it be possible for you to add emitting `deleted` event on a Group when a limiter is deleted after being idle? There's already `on("created")` (https://github.com/SGrondin/bottleneck#oncreated) so would be...
Hi! First, thank you for this great library 🙂 I tried running this library in Cluster mode with Redis 7.x, and I got the following error: ``` ReplyError: ERR SETTINGS_KEY_NOT_FOUND...