Async Techniques and Examples in Python Transcripts
Chapter: asyncio-based web frameworks
Lecture: Python async landscape: Async web

Login or purchase this course to watch this video and the rest of the course contents.
0:00 I opened this entire course when we started talking about async as concept of why we really wanted it by talking about web applications.
0:10 Web applications are either calling a database calling some microservice or external web API or doing just a little bit of work to send
0:18 that HTML back to the browser. But most of the time, they're waiting. And so web APIs are really one of the key places that asyncio just shines.
0:30 So what we're going to cover in this chapter is we're going to talk about building websites particular APIs with Flask
0:37 and we're going to make those async as in async and await. That puts is back in my favorite place the top left, asyncio.
0:46 Like I said, I really, really like this. Unsync sort of amplifies it across the different areas but asyncio really, really awesome
0:51 and we're going to apply this technique to find all the places our web app is waiting and just set it free to go do more stuff.
0:59 Do more stuff at once and be more scalable. This means instead of paying fifty dollars for a server or a set of servers we're scaling up to
1:07 we might be able to spend ten and get even better response times just because instead of having a whole bunch of systems waiting and queuing up
1:15 threads and blocking and things like that we'll just interweave all of this asyncio just like we saw in the beginning.

Talk Python's Mastodon Michael Kennedy's Mastodon