Overview
Dive into the inner workings of AsyncIO in this 27-minute conference talk from EuroPython 2024. Explore the core concepts of event loops, futures, tasks, and coroutines as you build your own event loop from scratch in Python. Learn how to schedule callbacks, execute tasks and coroutines, and handle network calls. Apply your newfound knowledge by running a FastAPI HTTP server using your custom-built event loop. Compare the performance of your creation with the fastest existing event loops and gain valuable insights into AsyncIO's role in web development, IO-bound tasks, and network programming.
Syllabus
Demystifying AsyncIO: Building Your Own Event Loop in Python — Arthur Pastel
Taught by
EuroPython Conference