Skip to content

Understanding the FIFO delivery nature (also with Groups) #924

Answered by manast
thetutlage asked this question in Q&A
Discussion options

You must be logged in to vote
  • The worker 2 gets the second job, realises that this job cannot be processed and puts it back to the queue (maybe by raising an exception).

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.

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.

Yes. But if you have more …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thetutlage
Comment options

Answer selected by thetutlage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants