A Really Gentle Introduction to Asyncio
I/O is slow (so very very slow) and waiting for it takes forever (metaphorically speaking). In this session you'll learn how to use all that waiting time productively with Python's asyncio module.
First you'll find out how to make two things happen at the same time without those pesky, error-prone, threads and you'll find out what's going on under the hood with the event loop.
Next you'll get a handle on the future with Futures (no, not the financial kind!). Then learn how to move all your data around with transports and how to communicate with protocols.
Finally, put it all together and learn how to fire up a networked application and system test it from all sides!
Greg has been programming in Python since 1995. He has a PhD in Computer Science and has been working in the financial services industry for over ten years. He is currently a Software Developer at Optiver.