cyberneticlibrary

Build async background tasks in Django

django-celeryskillsetup L30
Sheshiyer/skill-clusters
What it does

Run async background tasks in Django with retries and scheduling

Best for

Offloading email, PDF generation, and API calls from request cycle to scale web app.

Inputs
  • · task function
  • · broker URL (Redis/RabbitMQ)
  • · schedule config
Outputs
  • · task result
  • · task status
  • · execution logs
Requires
  • · Celery
  • · Redis/RabbitMQ
  • · django-celery-results
  • · django-celery-beat
Preconditions

Django app; Redis or RabbitMQ running; tasks.py defined

Failure modes

Worker crash loses in-flight tasks (use ACKS_LATE); task idempotency not enforced

Trust signals
  • · ECC origin
  • · django-celery-beat integration
  • · idempotency pattern documented