bullmq rate limiter usage #2414
Unanswered
RichardWright
asked this question in
Q&A
Replies: 1 comment 2 replies
-
If you use the same queue for different pods then you cannot restrict that the jobs added "from" a given pod so that they are also processed in the same pod. This sounds a bit like an antipattern, as you are limiting yourself if you need to scale up in the future. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear bullmq team
I have three k8s pods which I want to rate limit performing an action. For performance(?) reasons, I would like the work to happen on the same pod it entered the queue but be restricted by the rate limiting of the shared queue.
An example - work added to the queue on pod one, will done by a worker on pod one, a job added to the queue on pod two will be handled by a worker on pod two. Is this possible with bullmq when using a rate limiter?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions