Asynchronous programming in Python

When

26/05/2021    
11:00 am-12:00 pm
Maxime Mouchet
LIP6

Event Type

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)

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.