Features of Celery

|
| By Webner

Celery has a handy structure that reduces the production load using delayed tasks while preparing asynchronous and planned jobs. These are some important features of Celery.

  • Simple: Celery is easy to maintain and use and it does not require configuration files.
  • Highly Available: Celery has workers and clients who retry in case of connection loss or failure.
  • Fast: Celery is fast due to its processing power which processes millions of tasks a minute with sub-millisecond round-trip latency (using RabbitMQ, librabbitmq, and optimized settings).
  • Open-source Library: Celery is open-source and free software that attracts developers to use it without spending any money. It also enables us to extend
  • Easy to install: Celery can be installed from the terminal using the pip command “pip install -U Celery”.
  • Scheduling: With the help of celery we can schedule tasks that will run at a specified date and time as per user requirements. This will be achieved by using the DateTime module along with the celery beat. Celery Beat triggers the tasks after regular intervals. We can use the periodic task for repeated events based on the simple interval.
  • Broker Support: Celery supports multiple message brokers, popularly RabbitMQ and It also supports the Amazon SQS but lacks some features (monitoring and remote control).
  • Integration with Web Frameworks: Celery supports many web frameworks of Python such as Pyramid, Pylons, Django, Tornado, Trylon, and Flask.
  • Works-flow: Celery has simple and complex works flows which use a set of advanced primitives called “canvas”.

Leave a Reply

Your email address will not be published. Required fields are marked *