celery-broker

Why does celery needs a message broker?

瘦欲@ 提交于 2020-12-01 09:38:09
问题 As celery is a job queue/task queue, name illustrates that it can maintain its tasks and process them. Then why does it needs a message broker like rabbitmq or redis? 回答1: Celery is a Distributed Task Queue that means that the system can reside across multiple computers across multiple locations the basic architecture is as follows: workers - processes that can take jobs from the bus (task queue) and process the data, it can put the result in the bus for farther processing by a different