← All tracks
Async Programming
AdvancedConcurrency
async/await, coroutines, tasks, the event loop, cancellation, task groups, backpressure and graceful shutdown.
24 lessons 6 labs 2 projects ~15h
Prerequisites: Iterators & Generators
0%track
Lessons in this build
async / await and the Event Loop
async/await lets a single thread juggle thousands of I/O operations by cooperatively pausing at await points and resuming when results are ready.
interactive visualizerTasks, gather & Concurrency
Tasks turn coroutines into concurrent work: `create_task`, `gather` and `TaskGroup` schedule many coroutines on one event loop so their I/O waits overlap — the difference between code that takes the sum of its waits and code that takes the longest.
interactive visualizerWhy it matters
Interview importance 5/5 · production importance 5/5.
Recommended next
async / await and the Event Loop