meta_pixel
Tapesearch Logo
Log in
Talk Python To Me

#188: Async for the Pythonic web with Sanic

Talk Python To Me

Michael Kennedy

Technology

4.8635 Ratings

🗓️ 1 December 2018

⏱️ 56 minutes

🧾️ Download transcript

Summary

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

Transcript

Click on a timestamp to play from that location

0:00.0

What do web servers do most of the time?

0:02.4

They wait.

0:03.1

They wait on external systems while processing a request.

0:06.5

Think about a standard web request to an e-commerce site where you're logged in.

0:09.9

You send a session cookie and request to a URL.

0:13.4

It pulls a bunch of items from the database, maybe a Redis cache, and even talks to an external API.

0:18.7

And that is exactly the situation ASync I.O. is built for.

0:22.6

But to take advantage of it in the Python Web frameworks, the framework itself has to support

0:27.3

async view methods. That's what SANIC was built to do. On this episode, you'll meet Adam Hopkins,

0:32.7

who is leading the SANIC project. This is Talk Python to Me, episode 188 recorded November 27, 2018.

0:53.1

Welcome to Talk Python to Me, a weekly podcast on Python, the language, the libraries, the ecosystem, and the personalities.

0:59.9

This is your host, Michael Kennedy.

1:01.8

Follow me on Twitter where I'm at M Kennedy.

1:03.9

Keep up with the show and listen to past episodes at TalkPython.fm.

1:07.5

And follow the show on Twitter via At Talk Python.

1:10.3

Adam, welcome to Talk Python.

1:11.5

Thank you for having me.

1:12.6

I'm excited to be here.

1:13.6

Yeah, I'm excited to have you here.

1:15.3

I'm really excited to talk about asynchronous web frameworks with you in particular

1:19.7

Sannic.

1:20.3

But before we get to that story, let's start with yours.

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Michael Kennedy, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Michael Kennedy and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.