Monitor performance issues & errors in your code

Async for the Pythonic web with Sanic

Episode #188, published Sat, Dec 1, 2018, recorded Tue, Nov 20, 2018

What do most web servers do most of the time? They wait. They wait on external systems while processing a request.

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

Adam on Twitter: @admhpkns
Sanic: sanicframework.org
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
pytest-sanic: sanic.readthedocs.io
Django async roadmap: aeracode.org
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon