Python Celery explained for beginners to Professionals(Part-3) — Workers, Pool and Concurrency configurations of Python Celery
Published in
5 min readOct 17, 2020
Hello readers,
If you have not read my previous posts, Please read it.
We will be discussing few important points about Celery Workers, Pool and its concurrency configurations in this post.
Celery Worker is the one which is going to run the tasks.
celery -A tasks worker --pool=prefork --concurrency=1 --loglevel=info
Above is the command to start the worker.
We will explore those command line options.
-A, --app <app>
This expects our python module in which celery object is created.
worker
is an option used to start the celery worker.
--loglevel