Brought to you by Rollbar - Detect, diagnose, defeat errors w/ pip install rollbar

Episode #188: Async for the Pythonic web with Sanic

Published Sat, Dec 1, 2018, recorded Tues, 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

Adam Hopkins
Adam Hopkins


Individuals: Support this podcast via Patreon or one-time via Square Cash or . Corporate sponsorship opportunities available here.
X
Become a friend of the show
Stay in the know and get a chance to win our contests.
See our privacy statement about email communications.