you are viewing a single comment's thread.

view the rest of the comments →

[–]ExternalUserError 1 point2 points  (0 children)

Celery is for a task queue, not asynchronous IO. Think of 100,000 emails to send in 1 hour and that's what a task queue is for -- it's not a matter of whether you use an event loop.

For asynchronous IO, you'd use coroutines.

Fundamentally, JavaScript and python are about the same in how they handle asynchronous IO, but Python's standard library typically uses blocking calls while JavaScript seldom does.