Asynchronous programming in Python

Speaker : Maxime Mouchet
Date: 26/05/2021
Time: 11:00 am - 12:00 pm


By default, in most programming languages, input/output operations are blocking: the execution flow of the program is stopped while waiting for external data from the disk or the network.
This is wasteful as these operations can take up to multiple seconds, and during this time the CPU is free for running other tasks.
Asynchronous I/O is a set of techniques to enable non-blocking I/O operations and achieve greater concurrency levels in I/O bound programs such as web servers.
In this session, we will introduce asynchronous programming in Python by using the built-in asyncio library.

Slides (pdf)