Is the concurrency configured in bull jobs global or local to a worker?
It's not clear that this documented concurrency is applicable per worker, or per the queue globally. Any light on this is appreciated.
The article is explaining the 2 ways you can achieve concurrency. Either with the concurrency factor per worker or with multiple workers. Not sure how this can be clarified, open for suggestions.
@manast The concurrency factor is a worker option that determines how many jobs are allowed to be processed in parallel
This is the main confusing part. In order to make it clear, at the very end of the sentence it would help to add across all of the workers or within a single worker.
@kibertoad @manast a small follow up.
If I have workers pulling jobs from different queues.
say workers w1, w2 are pulling jobs from q1, q2 respectively.
here w1 and w2 are part of the same node process.
would w1 and w2 with concurrency 1, pull jobs simultaneously or not?
hi @soumilbaldota in this case w1 and w2 are independent as they belong to different queues, so they will pull jobs simultaneously, 1 job each
you can also read https://docs.bullmq.io/guide/queues/global-concurrency if you want to have a global concurrency in a queue