asyncio: We Did It Wrong

asyncio: We Did It Wrong

Note: better viewing of slides (no code is cut off) can be found at

Everyone’s talking about it. Everyone’s using it. But most likely, they’re doing it wrong, just like we did.

This talk walks through common mistakes and antipatterns, drawing from experience with how we’ve used asyncio in Spotify’s infrastructure. We learn how to approach asynchronous programming with Python’s asyncio, take away some best practices, and what pitfalls to avoid.


Lynn Root

July 26, 2018