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

Feature Request : Priority Queues #270

Open
Terebi42 opened this issue Jan 20, 2022 · 2 comments
Open

Feature Request : Priority Queues #270

Terebi42 opened this issue Jan 20, 2022 · 2 comments

Comments

@Terebi42
Copy link

It would be very valuable if you could queue items into queues with a priority, and have items pulled from the queue in priority order for processing by jobs.

I currently work around this by having multiple queues, with multiple jobs, but this means that multiple jobs are running simultaneously, which in some cases is not scalable due to resource constraints.

@ejsmith
Copy link
Contributor

ejsmith commented Jan 20, 2022

That's really not possible with pretty much any queuing system. You end up having to do exactly what you are doing. Routing the messages to a dedicated high priority queue.

@Terebi42
Copy link
Author

Would it be possible to give a job a list of queues (of the same type), so that it tried to pop off each of them, but only one would be able to get processed at any given time (because there is only one job task running)

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

No branches or pull requests

2 participants