django-orchestra-test/orchestra/contrib/tasks
Jorge Pastor fefb0f43d4 nextcloud size on cron 2023-09-28 08:57:36 +02:00
..
management/commands inicio 2023/07/09 2023-07-09 07:51:51 +00:00
README.md inicio 2023/07/09 2023-07-09 07:51:51 +00:00
__init__.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00
admin.py nextcloud size on cron 2023-09-28 08:57:36 +02:00
apps.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00
beat.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00
decorators.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00
parser.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00
schedules.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00
settings.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00
tasks.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00
utils.py inicio 2023/07/09 2023-07-09 07:51:51 +00:00

README.md

This is a wrapper around djcelery and celery @task and @periodic_task decorators. It provides transparent support for switching between executing a task on a plain Python thread or the traditional way of pushing the task on a queue (rabbitmq) and wait for a Celery worker to run it.

A queueless threaded execution has the advantage of 0 moving parts instead of the alternative rabbitmq and celery workers. Less dependencies, less memory footprint, less points of failure, no process keeping, no independent code reloading for the workers.

If your application needs to run thousands or milions of tasks a day, use celery as your backend, if tens or hundreds, then probably the default thread backend will be your best choice.