Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upTask priorities #2835
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
lexqt
Oct 28, 2015
Moreover doc says:
Does celery support task priorities?
Answer: No. In theory, yes, as AMQP supports priorities. However RabbitMQ doesn’t implement them yet.
But as of version 3.5.0 ( https://www.rabbitmq.com/changelog.html ) RabbitMQ supports priority queues
https://www.rabbitmq.com/priority.html
UPD: Found this #2635
lexqt
commented
Oct 28, 2015
|
Moreover doc says:
But as of version 3.5.0 ( https://www.rabbitmq.com/changelog.html ) RabbitMQ supports priority queues UPD: Found this #2635 |
ask
closed this
in
fe793b2
Oct 28, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ask
Oct 28, 2015
Member
hipri is not looked at first, the messages are consumed in the order in which they were published when using RabbitMQ.
The idea of using priority queues like this is that you send high priority tasks to a dedicated queue, and you have more workers consuming from the high priority queue than low priority ones, or the machines consuming from the hipri queue is more powerful, or similar.
|
The idea of using priority queues like this is that you send high priority tasks to a dedicated queue, and you have more workers consuming from the high priority queue than low priority ones, or the machines consuming from the hipri queue is more powerful, or similar. |
malthe commentedOct 2, 2015
The documentation says that Celery does not support task priorities, but there is a
priorityargument that takes an integer 0-9.What gives?
Also, does Celery support queue priorities?
That is, if you say
-Q hiprio,lopriodoes that mean that queue<hiprio>is looked at first?The documentation is lacking.