Wednesday 19th June, 2013
2:30pm to 3:15pm
Why is async hot now? Contemporary web apps trend towards web sockets and service-oriented architectures, which require very high numbers of concurrent connections, which makes async more necessary than before. There are a number of asynchronous frameworks available. I'll demo a popular one for Python: Tornado.
An async framework like Tornado allows a single thread to efficiently interleave concurrent I/O operations, using an event loop. I'll walk through the code for Tornado's event loop so you thoroughly understand the underlying process, and so you can forever avoid the mortal sin of blocking the event loop.
Once you grok the foundations of Tornado, you'll understand how asynchronous frameworks work in general and be ready to build very high-performance modern web applications.
Staff Software Engineer at MongoDB. Knows about Python, Tornado, and async. Documentary photographer. Zen Buddhist. bio from Twitter
Sign in to add slides, notes or videos to this session