bottleneck icon indicating copy to clipboard operation
bottleneck copied to clipboard

Job scheduler and rate limiter, supports Clustering

Results 86 bottleneck issues
Sort by recently updated
recently updated
newest added

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

## 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...

feature-request

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...

discussion

Could you consider add cron/recurring job support? It would be great. Thank you!

feature-request

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...

feature-request

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...

feature-request

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...