Node.js Tutorial - 41 - Network I/O

preview_player
Показать описание

📱 Follow Codevolution

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

I want to add something here, when you use native async mechanism you are still using CPU, but the key difference lies in how the CPU is utilized during these operations. In a traditional synchronous (blocking) operation, the CPU would be actively engaged in waiting for the operation to complete. During this time, the CPU would be idle, not performing any other tasks, and essentially wasting its processing power.
In contrast, when the native asynchronous mechanism is employed, the CPU is not idle during the waiting period. Instead, the CPU can be utilized to perform other tasks and execute other parts of the program while waiting for the asynchronous operation to complete. This is achieved by allowing the Event Loop to continue processing other events and tasks while the native asynchronous operation runs in the background.

stevehyuga
Автор

Insane stuff...it seems like you are doing post mortem of node js 😅... Your one quality videos per day is more valuable then a golden egg per day....thanks a lot

fayequehannan
Автор

Fantastic low level detail about nodeJS....welldone Vishwas....at the end of this series, let’s build something terrific with nodeJS 🙏🏾

adehenry
Автор

I don't think there is a better explanation out there about libuv and how it works under the hood. It's clearly visible the amount of effort you have done to find the best examples to explain these concepts. Big thanks for all your hard work :)

asadjivani
Автор

Hi Vishwas, I discovered your channel yesterday and found it intriguing with regards to your React tutorial (although it's 4 years old in class based components). Such a bummer.

I browsed very carefully through all your videos uploaded till date, unfortunately couldn't find any project based tutorial on react. It would be awesome if you could make one project based React Tutorial coz I like your teaching style. It's superbly simple and efficient for beginners.

tenc
Автор

Thank you Vishwas Anna for the quality of content you provide

Sai_ku_ma_r
Автор

Amazing person, I was able to clear interview after I started watching his videos. ❤️❤️

Ann-ebhh
Автор

Wonderful, thanks for creating such content

nileshpawar
Автор

Following from vid1 through this. Thanks a lot.

leomacdon
Автор

Valuable content .thank you so much ❤️

alekhya
Автор

Thanks sir for clearing async behavior in node

gauravbisht
Автор

You need to conduct same experiment on hyperthreding enabled CPU where each cpu core has 2 or more threads.

demogyani
Автор

Let's say that we have a simple express server with a get route. Please explain the flow of control when we hit that route from a client.

Wakkyguy
Автор

If libuv delegates the request to os kernel wouldn't they also be bottlenecked by only 8 cores as it is now running on machine ?.

pratikgiri
Автор

Is there a max size of network i/o requests? Like, what happens if we increase the number of requests to 1000?

wahoobeans
Автор

Please create videos on Graphql as well.

nileshpawar
Автор

love your tutorial just some bonus you can use console.time("name of the timer") and console.timeEnd("name of the timer") for mesurement of execution

nedyalkotodorov