Running Celery with Gevent
The gevent pool is useful when running tasks that are I/O bound which tends to be 90% of tasks. The same configuration can also be used to run Celery on Windows (if the solo pool is not suitable) since Celery 4.x no longer officially supports Windows.
To use the gevent pool, change the concurrency pool implementation to gevent instead.
pip install gevent
celery -A {{ project_name }} worker -l info -P gevent
For more information see the Celery documentation.
Comments (0)
No comments yet.
Log in to leave a comment.