bottleneck
bottleneck copied to clipboard
Job scheduler and rate limiter, supports Clustering
Hello, I'm using this inside of an AWS lambda for rate limiting during execution, one of the issues is we would like to reset state between runs as we do...
I'm running into the issue described in the documentation: >Let's suppose we're using reservoirRefreshAmount: 5. If you happen to add 10 jobs just 1ms before the refresh is triggered, the...
Hey, I was struggeling a lot because I thought there's something wrong in my code. But now I figured out, that I initialized the Bottleneck with "invalid" settings: ``` new...
I'm using bottleneck (with clustering enabled) on Typescript inside an AWS Lamba function. The library works fine for some time until at some point I start that jobs stop running....
Hello there! In a project I'm working on, we are using the light Bottleneck, and I saw there were types in the repo, but they weren't published to npm. This...
Trying to see if a correct way to use Bottleneck to make 1000 requests to an api with one-hour rolling window. const limiter = new Bottleneck({ reservoir: 16, reservoirRefreshAmount: 16,...
I get this error with no reason. Sometimes after 5 minutes, sometimes after 30 and then. Error occur only on prod with much load. I have much jobs, but do...
Looks like Redis package has been officially updated to v4 recently, which introduced some [breaking changes](https://github.com/redis/node-redis/blob/master/docs/v3-to-v4.md), including several interface changes.
Hello, I would like to further understand what do you mean by "inactivity" when you talk about the timeout option. And would appreciate if you can help me understand how...
Hi! We deployed bottleneck and recently migrated to a new elasticache setup, using redis with 'cluster mode' enabled. Once we migrated we started getting crossslot errors `"ReplyError: CROSSSLOT Keys in...