This document describes the current stable version of Celery (5.3). For development docs, go here.
Concurrency with gevent¶
Lightweight execution units based on greenlets.
Cooperative DNS queries performed through a threadpool, dnspython, or c-ares.
Monkey patching utility to get 3rd party modules to become cooperative
Subprocess support (through gevent.subprocess)
gevent is inspired by eventlet but features a more consistent API, simpler implementation and better performance. Read why others use gevent and check out the list of the open source projects based on gevent.
You can enable the gevent pool by using the
celery worker -P gevent or
celery worker --pool=gevent
$ celery -A proj worker -P gevent -c 1000
See the gevent examples directory in the Celery distribution for some examples taking use of Eventlet support.