Django Celery Async Tasks

•
215k
•

Implements production-grade asynchronous task processing and scheduled jobs for Django applications using Celery.

This skill provides a comprehensive framework for integrating Celery with Django to handle background processing, periodic tasks, and complex workflows. It offers standardized patterns for task design, including idempotent operations, exponential backoff retries, and soft time limits. Whether you are offloading slow API calls, generating heavy reports, or setting up cron-like schedules with Celery Beat, this skill ensures your implementation follows industry best practices for reliability, monitoring, and testability within a Django environment.

주요 기능

01Standardized boilerplate for celery.py and Django settings configuration.
02Automated retry logic with exponential backoff and jitter for transient failures.
03Integration with Celery Beat for database-backed periodic task scheduling.
04Testing utilities for both unit and integration tests using eager execution.
05Production-ready task patterns including idempotency guards and error handling.
06214,597 GitHub stars

사용 사례

01Offloading long-running operations like email delivery and PDF generation from the request-response cycle.
02Implementing scheduled maintenance tasks and daily data synchronization using Celery Beat.
03Building resilient multi-step data pipelines using Celery Canvas (chains, groups, and chords).