Celery (software)

Celery is an open source asynchronous task queue or job queue which is based on distributed message passing. While it supports scheduling, its focus is on operations in real time.[1]

Celery
Stable release
4.2 / June 11, 2018 (2018-06-11)
Repository
Written inPython
PlatformCross-platform
Available inPython
TypeMessage-oriented middleware
LicenseBSD License
Websiteceleryproject.org

Overview

The execution units, called tasks, are executed concurrently on one or more worker nodes using multiprocessing, eventlet[2] or gevent.[3] Tasks can execute asynchronously (in the background) or synchronously (wait until ready). Celery is used in production systems, for instance Instagram, to process millions of tasks every day.[1]

Technology

Celery is written in Python, but the protocol can be implemented in any language. It can also operate with other languages using webhooks.[4] There is also a Ruby-Client called RCelery,[5] a PHP client,[6] a Go client,[7] and a Node.js client.[8]

The recommended message brokers are RabbitMQ or Redis. Additionally, MongoDB, Amazon SQS, CouchDB, IronMQ, and databases (using SQLAlchemy or the Django ORM) are supported in status experimental.[9]

See also

References

  1. Celery: Distributed Task Queue
  2. eventlet
  3. gevent
  4. "HTTP Callback Tasks (Webhooks) — Celery 3.1.23 documentation". docs.celeryproject.org. Archived from the original on 2016-10-30. Retrieved 2016-08-17.
  5. "leapfrogonline/rcelery". GitHub. Retrieved 2016-08-17.
  6. "gjedeer/celery-php". GitHub. Retrieved 2016-08-17.
  7. "gocelery/gocelery". GitHub. Retrieved 2018-08-06.
  8. "mher/node-celery". GitHub. Retrieved 2016-08-17.
  9. "Brokers — Celery 3.1.23 documentation". docs.celeryproject.org. Retrieved 2016-08-17.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.