-
|
thanks for all the great work on this module. very neat and powerful. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
@aon108 Thank you for opening this discussion thread! Running multiple servers to process tasks from the same queue is safe. |
Beta Was this translation helpful? Give feedback.
-
|
What should I do in this situation? ServerA and serverB are connected to the same queue at the same time, but I only want serverB to process it, not serverA. |
Beta Was this translation helpful? Give feedback.
@aon108 Thank you for opening this discussion thread!
Running multiple servers to process tasks from the same queue is safe.
For example, if you have serverA and serverB both configured to consume tasks from Queue1, if you enqueue a task in Queue1, either serverA or serverB will start the work (but not both). One caveat is that you cannot specify which server to process the task when you enqueue it (because both serverA and serverB is waiting for tasks in the same queue, whichever is available first will pick up the task)