celery / celery

Distributed Task Queue (development branch)
https://docs.celeryq.dev
Other
24.93k stars 4.68k forks source link

Deprecate Eventlet-based concurrency #9257

Open itamarst opened 2 months ago

itamarst commented 2 months ago

Eventlet is fundamentally broken, and is currently in the process of being shut down as a project (https://github.com/eventlet/eventlet/issues/972). There is a way to migrate to asyncio, but that's not really relevant to the way Celery uses it. As such, Celery should deprecate it.

(Gevent is still maintained and is in theory a similar alternative, but I suspect it suffers from the same fundamental problem eventlet does: monkeypatching the Python standard library is not a sustainable implementation strategy. I would not suggest using it either.)

auvipy commented 2 months ago

I think that would be a practical move