Title | : | Next-Level Concurrent Programming In Python With Asyncio |
Duration | : | 19:19 |
Viewed | : | 166,980 |
Published | : | 17-06-2022 |
Source | : | Youtube |
If your software interacts with external APIs, you need to know concurrent programming. I show you how it works in Python and then take it to the next level by showing advanced concurrent features such as using async with generators and comprehensions, show a simple way to turn blocking code into concurrent code, and then I cover how concurrency affects software design and architecture. The code I worked on in this episode is available here: https://github.com/ArjanCodes/2022-asyncio. ๐ก Get my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide. ๐ป ArjanCodes Blog: https://www.arjancodes.com/blog ๐ Courses: The Software Designer Mindset: https://www.arjancodes.com/mindset The Software Designer Mindset Team Packages: https://www.arjancodes.com/sas The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level-python The 30-Day Design Challenge: https://www.arjancodes.com/30ddc ๐ GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes. ๐ If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel! ๐ฌ Discord: https://discord.arjan.codes ๐ฆTwitter: https://twitter.com/arjancodes ๐LinkedIn: https://www.linkedin.com/company/arjancodes ๐ตFacebook: https://www.facebook.com/arjancodes ๐ Code reviewers: - Yoriz - Ryan Laursen - James Dooley - Dale Hagglund ๐ฅ Video edited by Mark Bacskai: https://www.instagram.com/bacskaimark ๐ Chapters: 0:00 Intro 1:10 Concurrency vs parallelism 2:33 The Global Interpreter Lock 3:06 The benefits of concurrency 4:36 Recap of asyncio in Python 7:13 Using gather to send out multiple requests 9:44 How async and await are integrated into Python's syntax 11:54 Turn blocking code into concurrent code 16:04 Async http requests 16:53 Aiohttp 17:50 Concurrency, design patterns, and architecture #arjancodes #softwaredesign #python DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!
![]() |
5 Reasons Why You Should Use Type Hints In Python 13:54 - 104,653 |
![]() |
Why COMPOSITION is Better Than INHERITANCE - De... 23:29 - 254,913 |
![]() |
Python Asynchronous Programming - AsyncIO & Asy... 25:57 - 417,362 |
![]() |
Requests vs HTTPX vs Aiohttp | Which One to Pick? 15:11 - 35,091 |
![]() |
import asyncio: Learn Python's AsyncIO #1 - The... 49:33 - 91,125 |
![]() |
Async for loops in Python 16:36 - 59,026 |
![]() |
FINALLY, I Understand the Difference Between th... 15:38 - 19,957 |
![]() |
AsyncIO, await, and async - Concurrency in Python 09:12 - 80,303 |