Python and FastAPI
Module 13 · Concurrency: threads, processes and asyncio
Concurrency vs parallelism, the GIL, threads, processes, and a thorough tour of asyncio — the foundation for async FastAPI.
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.
-
Lesson 1 of 7
13.1 Threads vs processes vs async
-
Lesson 2 of 7
13.2 The GIL and what it means
-
Lesson 3 of 7
13.3 Threads in practice: locks and queues
-
Lesson 4 of 7
13.4 Multiprocessing basics
-
Lesson 5 of 7
13.5 asyncio fundamentals
-
Lesson 6 of 7
13.6 Async iteration and task groups
-
Lesson 7 of 7
13.7 asyncio patterns: timeouts, queues and semaphores