celery software features
Simple: Once you are familiar with celery’s workflow, it is easy to configure and use
High availability: When a task fails to execute or a connection is interrupted during execution, celery will automatically try to re-execute the task.
Fast: A single-process celery can handle millions of tasks per minute
Flexible: Almost every component of celery can be extended and customized
celery software composition
Message middleware (Broker): Officially provides many alternatives, supporting RabbitMQ, Redis, Amazon SQS, MongoDB, Memcached Wait, the official recommendation is RabbitMQ
Task execution unit (Worker): Task execution unit is responsible for taking out tasks from the message queue for execution. It can start one or more, or it can start on different machine nodes. This is the core of its distributed implementation.
Result storage (Backend): Officially provides support for many storage methods: RabbitMQ, Redis, Memcached, SQLAlchemy, Django ORM, Apache Cassandra, Elasticsearch, etc.
How celery works
The task module Task includes asynchronous tasks and scheduled tasks. Among them, asynchronous tasks are usually triggered in business logic and sent to the message queue, while scheduled tasks are handled by Celery The Beat process periodically sends tasks to the message queue;
The task execution unit Worker monitors the message queue in real time to obtain the task execution in the queue;
After Woker completes the task, it saves the results in Backend;
celery update log
1.Fix several bugs;
2. Optimize detailed issues;
Huajun editor recommends:
Celery has always been a commonly used programming development software for most friends. Its dominance in the minds of netizens is evident. The editor of Huajun Software Park recommends users to download celery and use it. Come and download it. In addition, there areMaven,Java2 Runtime Environment,Eclipse IDE for Java EE Developers For Linux(64-bit),GCC For Linux,Free PascalAvailable for download.
it works
it works
it works