Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Python Asynchronous Programming - 2 - Synchronous vs Asynchronous

Автор: buildwithpython

Загружено: 2022-01-28

Просмотров: 8700

Описание:

Before we start coding lets understand the terms and differences between Synchronous vs Asynchronous Programming.

Synchronous
In sequence. One after other. Thread is blocked.Speed of execution of code depends on your process. Has to wait for the funtion to end ( Example infinite while loop)
Asynchronous
Doesn't has to wait for a part of code to be finished before executing another one.

Example
Human (thread) is waiting in line for movie tickets. For the sake of this example , he is unique human being who can only do 1 thing at a time. So while waiting in line for movie tickets. He can't do anything else. We can also say he has locked on to only getting movie tickets. He can't use intagram while getting movie tickets. Only after he has gotten the movie tickets he can start using instagram on his phone. This is an example of synchronous programming. Now this sounds a lil dumb he should be a ble to use instagram which waiting in line for the movie tickets. This in code is achived by asynchronous programming.

Next video - Async vs MutilThreading vs MultiProcessing

Full playlist -    • Python Asynchronous Programming with Async...  

Subscribe -    / @buildwithpython  

Instagram -   / buildwithpython  

Python Asynchronous Programming - 2 - Synchronous vs Asynchronous

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

array(10) { [0]=> object(stdClass)#4433 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "falzPJO3Mgs" ["related_video_title"]=> string(72) "Python Asynchronous Programming - 3 vs MultiThreading vs MultiProcessing" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(15) "buildwithpython" } [1]=> object(stdClass)#4406 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "t5Bo1Je9EmE" ["related_video_title"]=> string(59) "Python Asynchronous Programming - AsyncIO & Async/Await" ["posted_time"]=> string(21) "4 года назад" ["channelName"]=> string(13) "Tech With Tim" } [2]=> object(stdClass)#4431 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "Qb9s3UiMSTA" ["related_video_title"]=> string(33) "Asyncio in Python - Full Tutorial" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(13) "Tech With Tim" } [3]=> object(stdClass)#4438 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "AZnGRKFUU0c" ["related_video_title"]=> string(38) "threading vs multiprocessing in python" ["posted_time"]=> string(21) "3 года назад" ["channelName"]=> string(12) "Dave's Space" } [4]=> object(stdClass)#4417 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "GpqAQxH1Afc" ["related_video_title"]=> string(56) "Next-Level Concurrent Programming In Python With Asyncio" ["posted_time"]=> string(21) "2 года назад" ["channelName"]=> string(10) "ArjanCodes" } [5]=> object(stdClass)#4435 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "OI7_e41eOy0" ["related_video_title"]=> string(166) "✓ Веревку вокруг Земли удлинили на 1 см. Пройдёт ли человек? | Ботай со мной #092 | Борис Трушин" ["posted_time"]=> string(21) "4 года назад" ["channelName"]=> string(23) "Борис Трушин" } [6]=> object(stdClass)#4430 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "RnHC1XiNWS8" ["related_video_title"]=> string(94) "Венедиктов – страх, Симоньян, компромиссы / вДудь" ["posted_time"]=> string(21) "1 день назад" ["channelName"]=> string(10) "вДудь" } [7]=> object(stdClass)#4440 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "ftmdDlwMwwQ" ["related_video_title"]=> string(45) "Intro to async Python | Writing a Web Crawler" ["posted_time"]=> string(21) "2 года назад" ["channelName"]=> string(7) "mCoding" } [8]=> object(stdClass)#4416 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "F19R_M4Nay4" ["related_video_title"]=> string(46) "Demystifying Python's Async and Await Keywords" ["posted_time"]=> string(19) "6 лет назад" ["channelName"]=> string(9) "JetBrains" } [9]=> object(stdClass)#4434 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "0vFgKr5bjWI" ["related_video_title"]=> string(84) "Asynchronous vs Multithreading and Multiprocessing Programming (The Main Difference)" ["posted_time"]=> string(19) "5 лет назад" ["channelName"]=> string(14) "Hussein Nasser" } }
Python Asynchronous Programming - 3 vs MultiThreading vs MultiProcessing

Python Asynchronous Programming - 3 vs MultiThreading vs MultiProcessing

Python Asynchronous Programming - AsyncIO & Async/Await

Python Asynchronous Programming - AsyncIO & Async/Await

Asyncio in Python - Full Tutorial

Asyncio in Python - Full Tutorial

threading vs multiprocessing in python

threading vs multiprocessing in python

Next-Level Concurrent Programming In Python With Asyncio

Next-Level Concurrent Programming In Python With Asyncio

✓ Веревку вокруг Земли удлинили на 1 см. Пройдёт ли человек? | Ботай со мной #092 | Борис Трушин

✓ Веревку вокруг Земли удлинили на 1 см. Пройдёт ли человек? | Ботай со мной #092 | Борис Трушин

Венедиктов – страх, Симоньян, компромиссы / вДудь

Венедиктов – страх, Симоньян, компромиссы / вДудь

Intro to async Python | Writing a Web Crawler

Intro to async Python | Writing a Web Crawler

Demystifying Python's Async and Await Keywords

Demystifying Python's Async and Await Keywords

Asynchronous vs Multithreading and Multiprocessing Programming (The Main Difference)

Asynchronous vs Multithreading and Multiprocessing Programming (The Main Difference)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]