Automattic / kue

Kue is a priority job queue backed by redis, built for node.js.
http://automattic.github.io/kue
MIT License
9.46k stars 867 forks source link

I would like to ask if Kue supports deploying under multiple servers, because I didn't see the relevant instructions #1072

Closed zackCzy closed 7 years ago

zackCzy commented 7 years ago

I would like to ask if Kue supports deploying under multiple servers, because I didn't see the relevant instructions Opening Kue on a multi server can cause the task to be repeated

orgoldfus commented 7 years ago

If all instances work against a single redis server, it should work just fine (tasks won't be repeated). That said, notice that events will be dispatched to all servers: https://github.com/Automattic/kue/issues/809

behrad commented 7 years ago

Use a single redis instance, configure your Kue processes to use it :)