-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
Redis queue needs to implement job priority #205
Comments
I hope this will be doable before 2.0.14 |
You can create multiple queues, for example: high priority, medium priority and low priority. Have different redis databases for the queues. Then add 3 workers for the high priority queue, 2 for medium priority and 1 for low priority. |
doesn't matter, releases of extensions aren't too tied to framework releases |
@kushalhalder I know but not a good idea when other driver support priority. |
Do you have any ideas to implement this lossless? |
It's good, but it require computing power for parallel execution 6 tasks, it may be sensitive for intensive tasks. If only high and default priority needs, for high priority possible to make RPUSH |
Also is the way - to make 3 Redis lists for high, default and low priorities, it can be faster on redis level, but more complex on queue manager level |
mysql driver implement job priority but it doesnt support by redis yet. can you please implement it for redis and may be other driver please?
The text was updated successfully, but these errors were encountered: