|
Description:
|
|
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:
|