S
S
Sergey Alekseev2019-01-25 07:42:23
Python
Sergey Alekseev, 2019-01-25 07:42:23

Celery, how does it work?

How celery works. Stack python/django/celery/redis.
The article writes that the task in celery is set asynchronously and an AsyncResult object is returned.
The documentation says that when a task is set to complete the task, they try (let's say 4 threads, depending on the machine and worker settings). So I'm concerned about the question of how tasks are performed in celery - asynchronously or multi-threaded?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-01-25
@sergey-gornostaev

Multiprocess.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question