Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

Python and FastAPI

Module 26 · Async, real-time features and background jobs

async def vs def in FastAPI, async HTTP clients, WebSockets, Server-Sent Events, task queues, caching with Redis and scheduling.

7 lessons Follow in order
Use the button below to sign in and unlock lessons.
Your path

Lessons in sequence

Work through these in order—each lesson builds on the previous one.

  1. Lesson 1 of 7

    26.1 async def vs def in FastAPI

    Enroll to open · 24 min read

  2. Lesson 2 of 7

    26.2 Async HTTP clients and concurrent calls

    Enroll to open · 26 min read

  3. Lesson 3 of 7

    26.3 WebSockets and a chat example

    Enroll to open · 28 min read

  4. Lesson 4 of 7

    26.4 Server-Sent Events and streaming updates

    Enroll to open · 27 min read

  5. Lesson 5 of 7

    26.5 Task queues: Celery, ARQ and friends

    Enroll to open · 28 min read

  6. Lesson 6 of 7

    26.6 Caching with Redis

    Enroll to open · 29 min read

  7. Lesson 7 of 7

    26.7 Scheduled jobs, email and notifications

    Enroll to open · 30 min read

← Back to course