K
K
KIN19912018-03-26 09:46:18
Python
KIN1991, 2018-03-26 09:46:18

What is the best way to run multiple queues when deploying in Celery?

Good day!
The question is this:
In a production environment, you need to run celery, which has 3 queues low, normal, high.
What is the best way to run them in the supervisor, each one separately?

celery -A celery worker --beat -Q low --loglevel=ERROR
celery -A celery worker --beat -Q normal --loglevel=ERROR
celery -A celery worker --beat -Q high --loglevel=ERROR

Or maybe all together?
celery -A celery worker --beat -Q low,normal,high --loglevel=ERROR

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question