Python Asyncio and Coroutines | Async programming in Python

preview_player
Показать описание
Welcome to the video series on interesting topics of modern python programming. In this video, we're going to look into async programming in python and how we can enable and use async programming in Python.

You'll also understand how to make use of coroutines in python and what's the difference between python multithreading and python asyncio.

I do hope that you'll like this video, here are the contents on this video

Timecodes:
0:00 : Python asyncio and Multithreading
0:28 : Coroutines in Python
2:21 : Why we need coroutines in Python?
3:15 : Synchronous wait in python
3:47 : Python GIL and impact on Multithreading
4:02 : Threading in Python
4:26 : Limitations of threading in python
4:56 : Using Asyncio in python
5:31 : using Async Await in Asyncio Python
6:55 : Creating Asyc tasks in Python using asyncio
7:57 : using await on async tasks
8:21 : Taskgroup in python 3.11 onwards

#pythonprogramming #multithreading #asyncawait

Рекомендации по теме
Комментарии
Автор

I have 2 procedures in the Postgres database that take 2 hours each to complete, but I want to run them parallelly without affecting any kind of db performance so that they both can finish in 2 hours and they are not dependent on each other. I have 4 cores allocated to that server. if I run multiple procedures through concurrent.futures, will it be able to complete it in 2 hours?
Which will be helpful multi threading or processing?

rahulnapa