MENU

Fun & Interesting

asyncio: what's next | Yury Selivanov @ PyBay2018

SF Python 5,656 7 years ago
Video Not Working? Fix It Now

This talk was presented at PyBay2018 - the Bay Area Regional Python conference. See pybay.com for more details about PyBay and click SHOW MORE for more information about this talk Abstract There are some new advanced features in asyncio 3.7 that are worth mentioning: new buffered protocol, start TLS, sendfile, and many other enhancements. The new buffered protocol is especially interesting as it allows to implement protocols with better performance than if was possible before, with less code. With PEP 567 we now have a new Context API in Python and asyncio. It allows to implement advanced tracing (zipkin, statsd, etc) and error reporting in your application, monitoring everything from costs of high-level application logic code to the very low-level IO performance. In Python 3.8 we want to focus on asyncio usability and the robustness of async/await. Particularly, the cancellation logic and timeouts mechanisms need to be redesigned from scratch. Hopefully, closer to August, I'll have a better idea of what we'll be adding to asyncio to make cancellation and timeouts easier to implement and handle correctly. Slides: https://goo.gl/qKJ4cj Speaker Bio Python core developer. Worked on adding async/await to Python, lead maintainer of asyncio, creator of uvloop & asyncpg packages. CEO of egdedb.com. This and other PyBay2018 videos are brought to you by our Gold Sponsor Cisco!

Comment