Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Demystifying AsyncIO - Building Your Own Event Loop in Python

PyCon US via YouTube

Overview

Dive into the inner workings of AsyncIO in this illuminating 32-minute PyCon US talk. Demystify the complexities of asynchronous programming in Python by constructing your own event loop from the ground up. Explore core concepts such as event loops, futures, tasks, and coroutines through a hands-on approach. Learn to schedule callbacks, execute tasks and coroutines, and handle network calls as you build a functional event loop. Apply your newfound knowledge by running a FastAPI HTTP server using your custom-built loop. Compare the performance of your creation with industry-standard event loops to gain valuable insights. By the end of this talk, gain a deep understanding of AsyncIO's internal mechanics and the ability to create a basic event loop capable of powering a FastAPI application.

Syllabus

Talks - Arthur Pastel: Demystifying AsyncIO: Building Your Own Event Loop in Python

Taught by

PyCon US

Reviews

Start your review of Demystifying AsyncIO - Building Your Own Event Loop in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.