Episode #188: Async for the Pythonic web with Sanic
Courses on Humble Bundle
Several of our courses are part of Level Up Your Python Bundle. Wanting to try one of our Python courses? Now is a great time to try it. Starts at just $1. Seriously!
Think about a standard web request to an ecommerce site where you are logged in. You send it a session cookie and a URL. It pulls a bunch of items from a database, a Redis cache, and an external API.
Virtually all this time is spent waiting. That is exactly what asyncio is built for. But to take advantage of it in Python web frameworks, the framework itself has to support async methods.
That's what Sanic was built to do. On this episode, you'll meet Adam Hopkins who is leading the Sanic project.
Links from the show
Matrix Retail (Adam's workplace): matrixretail.com
Sanic discussion and community: community.sanicframework.org
awesome-asyncio list: github.com/timofurrer/awesome-asyncio
Sanic extensions: sanic.readthedocs.io
Django async roadmap: aeracode.org