Asynchronous vs Multithreading and Multiprocessing Programming (The Main Difference)

preview_player
Показать описание
In this video, I explain the main difference between asynchronous execution, multithreading and multiprocessing programming. There are advantages and disadvantages of each approach.

* Synchronous 0:30
* Multithreading a process have many threads shared resources 3:20
* Async io single thread 6:00
* Multiprocessing 11:00

Threads are evil

🏭 Software Architecture Videos

💾 Database Engineering Videos

🛰 Network Engineering Videos

🏰 Load Balancing and Proxies Videos

🐘 Postgres Videos

🚢Docker

🧮 Programming Pattern Videos

🛡 Web Security Videos

🦠 HTTP Videos

🐍 Python Videos

🔆 Javascript Videos

Support me on PayPal

Become a Patreon

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

Him: does anyone even print stuff these days
The books behind him: ...

venkyman
Автор

I loved this explanation! You might consider doing a podcast when you just chill by yourself or with a guest and start off from some technical subject but treat it casually and with lots of everyday examples, just like you did in this clip. New sub from me and keep it up! :D

yaBoyDreamer
Автор

This is what they always told me at work, understand the basics, understand the basic.. and here I am always ended up getting confused in basic.
And back to ur channel to relearn all those things

aadityarane
Автор

I love your explanations and as someone who is trying to become a backend engineer, I think your channel is a gold mine of useful information. Keep up with awesome videos!

thhtpegla
Автор

I clicked the thumb up button after I watched the whole video, and I ended up given all video I've been watched a thumb up in this channel, thank you Hussein!

goregeway
Автор

I don't think anybody can explain it in a more better way . Thank you

__o_
Автор

i'm thankful to the people who suffered through callback hell

kez
Автор

Love all your videos, specially about soft skills and motivation one. There are times when I get lost and watching these videos again put me on track and keep going.

simplefinance
Автор

I just realized you've got a ps2 on the background, so many good memories of that console

centurion
Автор

Thanks to the geniuses who made coding so easier for us newbies in the 21st century. Imagine, having to code back in the 70's or 80's, with no software like VS Code that can color code your text, auto complete lines of code, spin up the compiler/interpreter with just a click of a button, handles the communication with the OS, does syntax error check, etc.
All we have to do is just know how to and what to code.

BangMaster
Автор

Loved this video, the last half of this video could definitely make a great series on ways to use multiprocessing!

tljstewart
Автор

Man, I love the enthusiasm you bring to the field!

liquidpebbles
Автор

This is great man, I like your style of teaching! I kind of revise this topic once in a while and I'm going to bookmark this video so I revisit it later on.

hassanhammoud
Автор

You're a really good teacher. I admire your talent sir!

anthonypark
Автор

Hussein the way you express yourself echoing in my mind. I like your passion and professional attitude which are seen rarely together man. True engineer

mustafayldrm
Автор

This was really helpful, informative and to the point. Thanks !

shahbazzaidi
Автор

multithreading languages tend to solve the problem by introducing reactive programming, Java did this after the community introduced some technologies like RxJava. and it is very power to combine both in the language echo system. however hard to perceive from the first glance. Great video buddy, all my wishes to you.. keep up bro

ahmeddaraz
Автор

Clear and concise explanation, proof that we don't need beautiful architecture drawings when concepts are clear.

avalon
Автор

Very informative and intuitive explanation! Thanks so much

raivatshah
Автор

Great video, as usual.
To summarize: if your app is "i/o bound" (e.g. reading data from a db, and sending it back) then use the asynchronous model (like NodeJS). If you are doing something "cpu bound" (e.g. video processing or cracking passwords) then use something supports subprocesses and channels (like golang).

icbm