Skip to main content
Loading page…
Python Mastery
Chapter 38
Lesson 2 of 4
Celery Basics
Contents
Notes
Tutor
Concept
Installation and Project Layout
Loading activity…
Previous
1 / 10
Continue
Contents
Notes
Discussion
Tutor
47 min
10 activities
0 of 10 done
In this lesson
1
Installation and Project Layout
2
Creating the Celery Application
3
Defining a Task with @app.task
4
Starting a Worker
5
Enqueueing Tasks: .delay() and .apply_async()
6
Avoid result.get() in Web Requests
7
Chaining and Grouping Tasks
8
Match the Celery Call to Its Purpose
9
Task Argument Serialisation
10
Senior Lab: Build, Run, and Review Evidence
Objectives
Install Celery and create a Celery application instance
Define a task with the @app.task decorator
Start a Celery worker process
Enqueue a task with .delay() and .apply_async()
Configure a result backend and retrieve task results
Further reading
Celery documentation
Chapter 38 · Background Jobs with Celery
Why Background Work
Celery Basics
Scheduling & Reliability
Celery in a Real App
Previous: Why Background Work
Next: Scheduling & Reliability