Understanding the FIFO delivery nature (also with Groups) #924
-
The docs mention that FIFO queue processes jobs in the order they are received. Does this mean, the jobs are given to the worker in the FIFO order or is their processing is guaranteed to be in order? Here's an example.
Also, if I use groups (from the pro version). And put first 3 jobs in Group1. Will they be processed as explained above. Job1, Job2 (failed), then Job3 processed before Job2. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
So the way a job gets back to wait is normally via a retry, so whether Job3 gets processed next depends on how fast the Job2 is placed back to the wait status, but most likely it will process Job3 first in this scenario. In any case, there is no logic in the queue where Job3 would wait for Job2 to exit the queue before processing Job3 so to speak.
Yes. But if you have more groups then of course the jobs will be interleaved. |
Beta Was this translation helpful? Give feedback.
So the way a job gets back to wait is normally via a retry, so whether Job3 gets processed next depends on how fast the Job2 is placed back to the wait status, but most likely it will process Job3 first in this scenario. In any case, there is no logic in the queue where Job3 would wait for Job2 to exit the queue before processing Job3 so to speak.
Yes. But if you have more …