Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jobs are fetched LIFO and not FIFO from a queue #2480

Open
wertzui opened this issue Dec 11, 2024 · 0 comments
Open

Jobs are fetched LIFO and not FIFO from a queue #2480

wertzui opened this issue Dec 11, 2024 · 0 comments

Comments

@wertzui
Copy link

wertzui commented Dec 11, 2024

In our setup we are using MAMQ with SQL Server as backend storage.
We recently had a situation where Jobs where enqueued faster than they could be processed leading to an increasing queue of jobs.
We observed that jobs where in the queue for multiple hours, while recently enqueued jobs would get fetched and processed.

So the queue seems to be a stack (LIFO), rather than a queue (FIFO).
Is there anything to ensure that the oldest jobs in the queue get fetched an processed first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant