taskforcesh / bullmq

BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis
https://bullmq.io
MIT License
5.99k stars 387 forks source link

Can the worker be deployed on another machine and fetch the jobs from the queue? #2013

Open xeoshow opened 1 year ago

xeoshow commented 1 year ago

Hello,

Just would like to know if I have the queue working on machine A, and the worker is deployed on machine B, and if there are jobs added to the queue, how to make the woker (on different machine B) to fetch the jobs from the queue and process them normally?

Thanks a lot.

Best regards, Jason

roggervalf commented 1 year ago

Hi @xeoshow, it's just sufficient that your worker be connected to the same redis as machine A