Teach Django Tasks to speak Celery: Building a Celery backend for Django Tasks
summary
Shows a working Celery backend that translates Django Tasks into Celery jobs, implements the required enqueue method is mandatory and task result mapping, and runs through immediate, database, and Celery backends with live demos that actually queue and execute tasks by changing one setting. Reveals necessary backend flags, the need to reconstruct import paths and results, and that implementing Celery support needed Celery internals and side channel metadata to expose task IDs and priorities.
AI-written summary · about
chapters (19)
- 0:00Introduction and speaker intro
- 0:24Purpose of Django Tasks
- 2:40Problem with background tasks in Django
- 4:10Django Tasks interface overview
- 5:19Backend implementation details
- 7:24Django Tasks backend responsibilities
- 10:25Five backend responsibilities
- 11:32Celery basics for Django Tasks
- 12:36Comparing Django Tasks and Celery
- 13:20Celery backend implementation
- 17:49Benefits of Django Tasks abstraction
- 18:56Live demo setup
- 19:20Demo with immediate backend
- 20:09Demo with database backend
- 20:53Demo with Celery backend
- 21:59Key takeaways and advantages
- 22:41Django Tasks limitations and future
- 23:33Resources and call to action
- 23:54Q&A
