Skip to content

How to isolate limiter config when working with horizontal scaling #2485

Answered by manast
michielswaanen asked this question in Q&A
Discussion options

You must be logged in to vote

Bull is a distributed queue system, therefore the limiters are per queue, independent of how many processes you spawn to process the jobs in a given queue. If you need different limiters then you should use a different queue. Also, if you are new to Bull I recommend you to use BullMQ as the rate-limiter there is more robust than the one in Bull: https://docs.bullmq.io/ https://github.com/taskforcesh/bullmq

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@michielswaanen
Comment options

@manast
Comment options

@michielswaanen
Comment options

Answer selected by michielswaanen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2481 on November 29, 2022 09:21.