I have seen a lots videos about how nodejs work and those videos made me sleepy. then, I watched this video. And BOOM, everything suddenly became easy-understanding. thanks a lots
Mosh your video making is really pleasing. Your voice and delivery is great. Even a person who have headache can watch your tutorial because. Great teacher you are.
The thing which impressed me very much is that your slideshow is adapted for all screen When the screen scale the slideshow scale also, and you did all of this without media queries...
Great video and your course website is phenomenal. I am an aesthetic sloot and you made me happy. Also your course has a lot of unique aspects to its design. Sounds, video, etc. great work
await/async keywords were introduced in .NET 4.5 in a.d. 2012. Tasks (thread abstraction) even before. Only thing one had to do was to write async method, same as on node.js. Great and simple video, yet bit misleading regarding ASP.NET.
Asynchronous by default so you don’t have to do the work....ah yeah you do- in fact promises and later on the upgrade async were developed BECAUSE of all the work you had to do to allow it to run smoothly ....but, of course, you would know this. This video highlights something else about the world of programming - event based programming was doing this in the 70s so effectively it passed over everyone’s head until 2001 I wonder what other processes used today (sitting under our noses) are just waiting to be pointed out (discovered)
Hi Mosh. I really love your courses. They are easy to understand. Thanks a lot. I have a question for you. You said "When the database prepares the result it puts a message in what we called EventQueue". So for example if we call a query in Oracle, thread in Node will be released and it is the duty of Oracle to send back the result to the EventQueue after finishing its query, Is it right? If Yes, how Oracle can send the result to the EventQueue of Node?
Hi Hadi, you are correct that the main Node thread will be "released" to process another thread while it waits for the database response, but Node will still allocate some resources to "track" the completion of the database call. When the call is completed, Node (not Oracle) will register the completed event within the event queue, to be picked up once it is at the top of the queue. Oracle does not need to explicitly "send back" the results to Node. Node will handle the response from the query itself.
Can you dive into more details. In first scenario of I/O where there are multiple requests and node gives first request to someone and caters to second request, so who is this someone to whom node gives the task. Why not node give this task to the same handler in CPU intensive task also. Also, in your hotel and waiter example, who is the waiter and who is the chef. And how can a single chef prepare multiple dishes at the same time if multiple request of multiple dishes comes in. There must be multiple chef present inside kitchen to cater to multiple order requests. Hope I made my doubts clear.
I'm glade to wait this course but there is one thing I worried, it's little bit hard to understand because instructor's pronunciation. I think it's because English is not my mother tongue. Please consider this.
If the single thread is not waiting for the db, then who is executing the database query? And even if the db is another process (a service), who is putting that result-event from the db on the event queue? "Someone" has to be listening for those incoming events. They don't just appear on the event queue by magic. (I do realize this video is just an intro, and thus a simplification.)
Nodejs has another component called libuv that uses a pool of threads (there is 4 by default) to handle heavy processes like database queries and others.
Please provide node with typescript to compile and manage with Webapck and ts compiler . Can you also make with popular authentication library’s like passport js and jwt like works with private and public key and how to secure application efficiently
Hi Mosh, i am at uni studying Application development and i want to get into .NET is this video .js front end? i am interested in learning about api's and some form of js front end. In .net this means webapi with dotnetcore or full framework and angular or react. What are your best videos and tutorials for this?
Hi Mosh, thanks. Do you have any good tutorials for learning any or all of these things - ( api's , js front end, webapi , dotnetcore ,full framework ,angular ,react) ? Thanks in advance. Or do you touch on any of these things in your tutorials such as your dotnetcore tutorial?
You have explained that node is single threaded and serves multiple clients but you didn’t explain what will take care of something so called cooking food in the kitchen
The restaurant is the perfect analogy to non-blocking.
agree
I agree
this guy should be a good teacher
yesss I really love this example
Enough already!!! Gives us the damn course! Fantastic quality as always.
I love the way this channel explains programming concepts. I hope you make more videos like this explaining more JS concepts. OOP, IIFES, Etc...
I have seen a lots videos about how nodejs work and those videos made me sleepy. then, I watched this video. And BOOM, everything suddenly became easy-understanding. thanks a lots
Mosh your video making is really pleasing. Your voice and delivery is great. Even a person who have headache can watch your tutorial because. Great teacher you are.
The thing which impressed me very much is that your slideshow is adapted for all screen
When the screen scale the slideshow scale also, and you did all of this without media queries...
best explaination i’ve seen so far on this topic
PERFECT! 4 min of pure education. You are the best!
10/10 would read this comment again!
WOW DJ Volfran! WOW!! VIRTUAL DJ FREE DOWNLOAD LINK PLZ!!
Perfect asynchronous example!🔥
Sir,ur method of teaching is wonderful and easy to understand boring subject.
give this man a medal
thank you Mosh ,this video useful for me to understand how works nodejs
This is defintely best explain video about the way nodejs working
*Great example of restaurant and waiter to explain asynchronous & synchronous very helpful for new students*
Sir thank you so much
Now my concept is cleared about nonblocking
Best wished from India
Such amazing video! thank you!
Well done with that abstract explanation, I will borrow that for interview if you dont mind, it will saves me from too much in depth questions
mind blowing resatuarent example
Very good Mosh! This kind of tutorials are very good to learn how it works!
Fantastic explanation👏👏
Great video and your course website is phenomenal. I am an aesthetic sloot and you made me happy. Also your course has a lot of unique aspects to its design. Sounds, video, etc. great work
How about a video showing difference between cpu intensive apps and i/o intensive apps🤩 love your content😇😀
Great explanation! Thanks..
amazingly explained
Bestest explanation! Thank you very much!
Just a word for you brother Great!
Excellent! Waiting for course.
await/async keywords were introduced in .NET 4.5 in a.d. 2012. Tasks (thread abstraction) even before. Only thing one had to do was to write async method, same as on node.js.
Great and simple video, yet bit misleading regarding ASP.NET.
yup, wanted to say in .net core 2.2 generated apis are async
very very good example
You made a very very good work I'm very glad to watch your videos conserning this image slideshow because you succeed in this task
Very clear, amazing video!!!
explained very well
Excellent explanation
i love this channel ,thank you !
Amazing explanation ♥️
Great Explanation Sir!!
Well explained! Thank you mosh!
Great explanation with short time
Excellent explanation ,Many thanks sir.
which software is used to created such a video/presentation. just awesome !! analogy is good, video content is just precise !!! thanks
Very-very good analogy!!
I love your animations... simple and to the point. What did you use to create them?
Nice Explaination
Thank you I like your infographic it helps a lot.
Nice Explanation ! Thanks
Asynchronous by default so you don’t have to do the work....ah yeah you do- in fact promises and later on the upgrade async were developed BECAUSE of all the work you had to do to allow it to run smoothly
....but, of course, you would know this.
This video highlights something else about the world of programming - event based programming was doing this in the 70s so effectively it passed over everyone’s head until 2001
I wonder what other processes used today (sitting under our noses) are just waiting to be pointed out (discovered)
understood like hell.thnk you very much..
very helpful. Thank you
excellent course. if you do a Vertx.io course I will be happy to enroll, keep up the good work !.
Nice explanation. Thanks
I love the way, thanks a lot :)
Hi Mosh. I really love your courses. They are easy to understand. Thanks a lot.
I have a question for you. You said "When the database prepares the result it puts a message in what we called EventQueue". So for example if we call a query in Oracle, thread in Node will be released and it is the duty of Oracle to send back the result to the EventQueue after finishing its query, Is it right? If Yes, how Oracle can send the result to the EventQueue of Node?
Hi Hadi, you are correct that the main Node thread will be "released" to process another thread while it waits for the database response, but Node will still allocate some resources to "track" the completion of the database call. When the call is completed, Node (not Oracle) will register the completed event within the event queue, to be picked up once it is at the top of the queue. Oracle does not need to explicitly "send back" the results to Node. Node will handle the response from the query itself.
Beautiful animation !! Did you make the entire video in After Effects ??
The best video
Great Quality
Thanks Mosh
Can you dive into more details. In first scenario of I/O where there are multiple requests and node gives first request to someone and caters to second request, so who is this someone to whom node gives the task. Why not node give this task to the same handler in CPU intensive task also.
Also, in your hotel and waiter example, who is the waiter and who is the chef. And how can a single chef prepare multiple dishes at the same time if multiple request of multiple dishes comes in. There must be multiple chef present inside kitchen to cater to multiple order requests. Hope I made my doubts clear.
I'm glade to wait this course but there is one thing I worried, it's little bit hard to understand because instructor's pronunciation. I think it's because English is not my mother tongue. Please consider this.
Brilliant.
Thanks a lot
Blocking and Synchronous would be our home kitchen. Mom would take a single or two orders at most. And then you all have to do is wait.
Thank you :)
Would you use Angular in front end in this course ?!
If the single thread is not waiting for the db, then who is executing the database query? And even if the db is another process (a service), who is putting that result-event from the db on the event queue? "Someone" has to be listening for those incoming events. They don't just appear on the event queue by magic.
(I do realize this video is just an intro, and thus a simplification.)
Nodejs has another component called libuv that uses a pool of threads (there is 4 by default) to handle heavy processes like database queries and others.
Was scratching my head about asynchronous
Please provide node with typescript to compile and manage with Webapck and ts compiler . Can you also make with popular authentication library’s like passport js and jwt like works with private and public key and how to secure application efficiently
You are very better in JavaScript HTML and CSS,
I hope one day I will be better like you...........
How does multi threading fit into this? When some CPUs have multi threading support
00:02 "So earlier I've mentioned"..?
Mmm...
I've seen the previous video and I'm pretty sure you haven't mentioned any of those 👀
thank you
Is it worth to use Es6 without transpiled to commonJs? I like the distribution on npm but I don't like require() thing
But, it's possible to use async/await pattern in Asp.Net Core.
Isn't that nonblocking or it's still using multi threading for each request?
Mosh hung in making cartoons. And they are cool )
Does Apache httpd, nginX , lighttpd and so on webserver blocking or not?
How do I know the webserver I going to use is blocking or not?
Excellent
I've been to a restaurant in Malaysia that was based on the "blocking" method of service...
Is the playlist incomplete? I'm going through the playlist.. and now here 'earlier I mentioned'.. but where? There is no earlier.
th-cam.com/play/PLTjRvDozrdlydy3uUBWZlLUTNpJSGGCEm.html
Thanks!!
what tool did you use to make this video, Sir?
Thanks
but is Nodejs singlethreaded ? If we can allocate more threads in our js then it is not .
How does node compare to apache?
This is slightly confusing, as Node does use multiple threads when it comes to network requests and file IO operations via libuv.
Hi Mosh, it's still worth learning .NET (asp.net mvc) or i need learn node.js instead? Thank you!
Are databases usually synchronous or asynchronous?
Ah yes, I should have phrased that better, but you answered my question, so thanks.
I love this guy (Ms.c) on web here
Pls someone clear me up, so w/ node.js my website can now be connected to my desktop apps?
Please complete the Node working, you just talked till event queue What about next? How the data for the request is sent to the user?
Hi Mosh, i am at uni studying Application development and i want to get into .NET
is this video .js front end? i am interested in learning about api's and some form of js front end. In .net this means webapi with dotnetcore or full framework and angular or react. What are your best videos and tutorials for this?
Hi Mosh, thanks. Do you have any good tutorials for learning any or all of these things - ( api's , js front end, webapi , dotnetcore ,full framework ,angular ,react) ? Thanks in advance. Or do you touch on any of these things in your tutorials such as your dotnetcore tutorial?
@@duncanfirth just go through his channel
Facebook still using php as a backend how they manage
anybody recommend the complete course..?
Isnt this “Event Loop” of Node.js but not async?
You have explained that node is single threaded and serves multiple clients but you didn’t explain what will take care of something so called cooking food in the kitchen
How do I run node app on webserver
The hype is real
As a Java developer, this makes me a bit worried.
wow NODE.js works just like VB in the old 90s...... lol
Except with works with JS / Typescript and comes with great tools.
Also you can't deny npm
It's sad that IO intensive applications are also not the most interesting ones.
This is a opinion, not a fact
Brando has electrolyte :)
Uhhh isn't NodeJS single thread?
bucky's example... 😝