update nav

This commit is contained in:
zachary62
2025-04-04 13:44:45 -04:00
parent 9213f1ed23
commit 14df136587
35 changed files with 239 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
---
layout: default
title: "Celery"
nav_order: 5
has_children: true
---
# Tutorial: Celery
Celery is a system for running **distributed tasks** *asynchronously*. You define *units of work* (Tasks) in your Python code. When you want a task to run, you send a message using a **message broker** (like RabbitMQ or Redis). One or more **Worker** processes are running in the background, listening for these messages. When a worker receives a message, it executes the corresponding task. Optionally, the task's result (or any error) can be stored in a **Result Backend** (like Redis or a database) so you can check its status or retrieve the output later. Celery helps manage this whole process, making it easier to handle background jobs, scheduled tasks, and complex workflows.