PyCon X

Florence

2nd - 5th May 2019

Artisanal Async Adventures

If you want to write an efficient server, asynchronous networking is an excellent strategy to do so. To build a production ready system, you would use asyncio, tornado, twisted, trio or another popular implementation. However, to fully understand how and why it works, I will ignore these solutions and instead craft an artisanal asynchronous implementation in front of your very eyes. Step by step we will turn a blocking socket server, only capable of handling a single connection at a time, into a beautiful non blocking server that has no trouble dealing with many connections at once. By the end, you should see that asynchronous code is not magical at all, but nevertheless incredibly useful.

Feedback form: https://python.it/feedback-1742

in on Saturday 4 May at 11:30 See schedule

Do you have some questions on this talk?

New comment