Skip to main content
Loading page…
Python Mastery
Chapter 38
Lesson 4 of 4
Celery in a Real App
Contents
Notes
Tutor
Worked example
Wiring Celery into FastAPI
Loading activity…
Previous
1 / 11
Continue
Contents
Notes
Discussion
Tutor
53 min
11 activities
0 of 11 done
In this lesson
1
Wiring Celery into FastAPI
2
Wiring Celery into Django
3
Task Design Principles
4
Celery Alternatives: Choosing the Right Tool
5
When NOT to Use a Task Queue
6
Production-Grade Task: Thumbnail Generation
7
Why Pass an ID Instead of the Object?
8
Right Tool for the Job
9
Integration and Design Quiz
10
Design Your Own Task
11
Senior Lab: Build, Run, and Review Evidence
Objectives
Integrate Celery into a FastAPI or Django application
Apply task design principles (small, idempotent, serialisable)
Name and compare Celery alternatives (RQ, Dramatiq, arq, APScheduler)
Identify scenarios where a task queue is and is not warranted
Further reading
Celery documentation
Chapter 38 · Background Jobs with Celery
Why Background Work
Celery Basics
Scheduling & Reliability
Celery in a Real App
Previous: Scheduling & Reliability
Next: Notebooks, Cells & Kernels