When and when not to use Node.js - Node.js Basics [06] - Java Brains

  Рет қаралды 359,823

Java Brains

Java Brains

4 жыл бұрын

Have you seen the new Java Brains? Check out www.javabrains.io now for awesome courses and content!
Understand the core problems that Node.js was meant to solve and why it is a good choice for certain applications and not for some others! Learn the strengths and weaknesses of the Node.js platform.
Java Brains website: javabrains.io
Access the full course playlist here:
• NodeJS Basics
#JavaBrains #Node.js #JavaScript #Tutorial

Пікірлер: 420
@brunobernard86
@brunobernard86 4 жыл бұрын
Hey, you need to do a series on "When and when not to use". Very interesting :)
@hichamo-sfh177
@hichamo-sfh177 4 жыл бұрын
Yes that's a good suggest
@femaledeer
@femaledeer 4 жыл бұрын
Having an explanation of the technology before diving into the code is extremely useful. A lot of youtube channels don't explain anything.
@Raymrash
@Raymrash 4 жыл бұрын
absolutely
@SirajAhmed-zn8eh
@SirajAhmed-zn8eh 4 жыл бұрын
Get "Learn and understand NodeJS" by Anthony Alicea on Udemy. It's a gem. Takes apart NodeJS and explains its basic behaviors.
@YouilAushana
@YouilAushana 9 ай бұрын
Others can be, Unapologetically greedy.
@carlosbarbier2401
@carlosbarbier2401 4 жыл бұрын
I have been working with node js for a while but this tutorial is one of the best tutorials out there. Thanks for sharing your knowledge
@mykola5669
@mykola5669 4 жыл бұрын
That's the best "how, why and when" video about programming languages I saw by this day. Well done!
@liamsmith-yp3xh
@liamsmith-yp3xh 4 жыл бұрын
when to use: "do this then this, then this, then this" when not to use: "generate every prime number up to 100000000000000000000000000000000000000000000000"
@hattrickster33
@hattrickster33 4 жыл бұрын
At that point, you would be using C lol
@raushonmunni2633
@raushonmunni2633 3 жыл бұрын
I tried to do that once.
@ayanSaha13291
@ayanSaha13291 4 жыл бұрын
Dear Koushik, You are outstanding as always. I could not find a single person who speaks technology as simply as you do. I have been following you for more than 7 years now. I truly appreciate your efforts. Thank you.
@karthik-ex4dm
@karthik-ex4dm 4 жыл бұрын
One of best explanations of event driven model of Node.js Eagerly waiting for the next video
@ibrahim47
@ibrahim47 4 жыл бұрын
Great video, one thing to add is it's commonly used in distributed systems. thanks to its non-blocking ability and asynchronous behavior. this is why is it called node after all. because a nodeJs server is just a node among other nodes.
@MrSidMan
@MrSidMan 4 жыл бұрын
When NOT to use Node.JS: When your client insists you use PHP.
@ask4funs_solution
@ask4funs_solution 4 жыл бұрын
hahahaha
@TheDesvendador
@TheDesvendador 4 жыл бұрын
i bet you "work" with wordpress
@dayvie9517
@dayvie9517 4 жыл бұрын
When your client insists that you should "destroy an already existing wordpress solution"
@leimococ
@leimococ 4 жыл бұрын
so true
@nexovec
@nexovec 4 жыл бұрын
LOL
@alexisaddicted
@alexisaddicted 4 жыл бұрын
I think that for this video is great at explaining basic concepts in a simple way. Good job!
@shaileshsingh5664
@shaileshsingh5664 4 жыл бұрын
NICE lets make this lockdown a little educational and knowledgeable
@David-kg5nn
@David-kg5nn 4 жыл бұрын
Thanks for this. I really enjoy the long form, in-depth discussion on one topic.
@simomed5002
@simomed5002 4 жыл бұрын
wow being more than 10 years in web development... I like how simply you explain the details! keep moving bro, I'm definitely following your tutorials and moving to node js from the programming language I'm using right now, also I subscribed to your channel :)
@SachinKumarSahu
@SachinKumarSahu Жыл бұрын
Having experience of working in Node for last couple of years, but some info in this tutorials are complete GOLD
@aakashggujju
@aakashggujju 3 жыл бұрын
Man you are the best and let me tell you that listening to you is always blissful and let me tell you that you are an awesome teacher and always make things simple and cool for listener's. Thanks. 🙏
@jeronimoolivavelez1299
@jeronimoolivavelez1299 3 жыл бұрын
Great Explanation. It is important, not only to know the code language but also learn which code is better to put in use depending the context of the app you are going to develop.
@gokulraja2006
@gokulraja2006 4 жыл бұрын
This is the best tutorial I have ever seen.
@armaandhanji2112
@armaandhanji2112 4 жыл бұрын
Thank you for talking about Node.js. I would love if you get into some of the advanced capabilities of Node.js! Thank you.
@sreerup_dhrino
@sreerup_dhrino 4 жыл бұрын
Simple loved it... Clear explanations with proper examples
@jenishvadodaria2888
@jenishvadodaria2888 3 жыл бұрын
You are a gem for Providing us with this example. Thank you!!
@devdylan6152
@devdylan6152 3 жыл бұрын
you covered this SO WELL... like you hit all the proper keys and put it all in a easy to digest manner, I will be using this to explain this to people D:
@imanueljodi1201
@imanueljodi1201 4 жыл бұрын
A great explanation that i've been looking for,awesome!
@Manana7016
@Manana7016 2 жыл бұрын
I really appreciate your explanation! I’d love to hear your take on comparing node.js to other options like python, php, etc. But thank you again for this video.
@kaleemullahnizamani7436
@kaleemullahnizamani7436 4 жыл бұрын
Loving you since your first video of servlets. You shine 😎
@keshavrastogi5005
@keshavrastogi5005 4 жыл бұрын
that was really great. I was confused whether to use node.js or not, but now I am clear :) Thanks! :)
@eny1103
@eny1103 4 жыл бұрын
Thank you for this video! It was very informative!
@Jbdoster
@Jbdoster 4 жыл бұрын
Been following this guy since I started, spot on And nice touch on the c/c++ node backend
@sumathisreebaskarrao1547
@sumathisreebaskarrao1547 2 жыл бұрын
You are a life saviour Mr.Koushik !
@headlights-go-up
@headlights-go-up 2 жыл бұрын
As someone new, you explained this so well. Thank you!
@AlbertBrucelee
@AlbertBrucelee 4 жыл бұрын
Thank you for sharing! Very helpful! God bless you!
@sneak9407
@sneak9407 2 жыл бұрын
You deserve more likes and views for the great analysis on node in this video.
@flyingleaves5480
@flyingleaves5480 3 жыл бұрын
Most informative I've seen so far... Thank you
@dawah7556
@dawah7556 4 жыл бұрын
i was searching for this and found your video.. that's great
@mechenzyhammah3001
@mechenzyhammah3001 4 жыл бұрын
You are the best teacher online. Like 👍
@akashnag3879
@akashnag3879 4 жыл бұрын
extremely great explanation. thank you very much.
@alexandertarasenko3038
@alexandertarasenko3038 4 жыл бұрын
It is pleasant to find Java devleoper who doesn't just blame javascript) Thank you for this movie!
@0the0ambient0
@0the0ambient0 4 жыл бұрын
Great explanation. Thank you!
@iliyasmohammed6192
@iliyasmohammed6192 2 жыл бұрын
Thanks a lot for the explanation. Its really needed when diving into it.
@nicktheritter
@nicktheritter 2 жыл бұрын
Really well done video. Easy to follow. You're interesting to watch. Useful information. Thank you.
@codeblueocean3520
@codeblueocean3520 3 жыл бұрын
I learnt mern from online courses but understood the core architecture/logic from this video.thankyou very much
@yassine_klilich
@yassine_klilich 3 жыл бұрын
i really enjoyed this explanation, love it
@linqcodmax8965
@linqcodmax8965 4 жыл бұрын
Good work! Can u make this kind of video about Django framework?
@wontonfuton
@wontonfuton 4 жыл бұрын
Would I be correct in saying that NodeJS handles jobs equivalently as using SelectionKey and Selector in java?
@Another0neTime
@Another0neTime 4 жыл бұрын
Awesome job as always!
@megazord5696
@megazord5696 4 жыл бұрын
Thanks for sharing!! Amazing Job! Could you do a video about front-end architecture and when to use it? :)
@asifmahmood9358
@asifmahmood9358 3 жыл бұрын
This channel should be renamed as tea with java brain... Ur doing awesome work love from Pakistan
@budi0580
@budi0580 4 жыл бұрын
Hi, what do you think if compare to multithread + async ability for example asp.net core ?
@fisnik8965
@fisnik8965 4 жыл бұрын
Very useful explanation ... This video should be used also to explain Single Vs Multi-threaded systems, not only for Node Js. Great Job (Y)
@smmehrab
@smmehrab 3 жыл бұрын
It was really helpful! Thank you!
@ramshankarkumar4222
@ramshankarkumar4222 Жыл бұрын
this content is awesome!!🎉 Thank you so much 😀 Just one question -- In multi threaded programming language, how number of thread pool is defined? Is it predefined by language or is configured by developer only? In any case, what could be the maximum number of thread pool can be created? Is there any parameters for it? Please answer if possible. Thanks
@Akshhacks
@Akshhacks 4 жыл бұрын
You teach really good, thanks
@NileshAkhade
@NileshAkhade 4 жыл бұрын
I'm with you since you uploaded first springboot video. Waiting to learn Promises and Streams from you.
@abdelmalek8045
@abdelmalek8045 4 жыл бұрын
What i retain is that Node is well designed for I/O intensive systems, certainly the reason of its success in widely used microservices architecures. Gonna learn it. Thanks!
@erinmcgowan7980
@erinmcgowan7980 3 жыл бұрын
The ammount of info in here is amazing =)
@sarahchohan6583
@sarahchohan6583 3 жыл бұрын
Very well explained. After watching this video had subscribed to that channel for upcoming videos.
@MultiMtech
@MultiMtech Жыл бұрын
I was also Java Programmer and loved to write java programs... But since I started learning NodeJS, I really get in love with Node.Js specially with Nest.JS Framework...
@thanasisathanasi4965
@thanasisathanasi4965 4 жыл бұрын
You have a very cool personality and style that I like !!!
@shikharchaudhary6984
@shikharchaudhary6984 4 жыл бұрын
Thanks you so much for this video.
@ragingpahadi
@ragingpahadi 3 жыл бұрын
i like this series when and when not ! :D "Just because you can do it doesn't mean you should do it"
@gibranmohammadkhan6216
@gibranmohammadkhan6216 4 жыл бұрын
Please do a series on Design Patterns, if possible. Thanks
@cruzortiz5233
@cruzortiz5233 4 жыл бұрын
Hi excellent resource, i have a question. When talking about node and that computing intesive task, are things that node isn´t good for, i was wondering, about promises ?. If we wrap that computing intesive process into a promise, we wont block the main thread and we can still be able to build those types of app ?
@Samuel-ql7tq
@Samuel-ql7tq 4 жыл бұрын
Cruz Ortiz No, promises are nothing but a syntactic sugar on top of callbacks so it basically means whatever computation heavy task you wrapped inside promises still have to be executed by node’s main thread only
@sytranvn
@sytranvn 4 жыл бұрын
In fact node can use multiple cores if needed. But it is hidden from the developer's view and taken care of by libuv.
@alfredoeleazarorozcoquesad2988
@alfredoeleazarorozcoquesad2988 4 жыл бұрын
Great! Very clear! thank you.
@VMEcycle6
@VMEcycle6 4 жыл бұрын
perfect explanation.
@thanasisathanasi4965
@thanasisathanasi4965 4 жыл бұрын
Just want to ask, if I run 2 files with Nodejs. e.g. $ nodejs myserver1.js and $nodejs myserver2.js simultaneously, does it run each file on its own thread? e.g if I perform intensive computations on running myserver1.js they will will not affect the running file myserver2.js ????? THanks!!
@user-yw6ru1iy9j
@user-yw6ru1iy9j 2 ай бұрын
very good explanation! Thanks.
@RAVIKUMAR-hl3ik
@RAVIKUMAR-hl3ik 2 жыл бұрын
Thank you very much it really gave me clarity
@VladBurlutsky
@VladBurlutsky 4 жыл бұрын
Cool video, thanks man!
@sarathchandran2815
@sarathchandran2815 3 жыл бұрын
Amazing presentation sir❤
@hyperborean72
@hyperborean72 4 жыл бұрын
How nice that the color of your jacket is the same as the color of the font and the frame in your presentation
@montenague
@montenague 4 жыл бұрын
Very Helpful!
@rezmed1144
@rezmed1144 4 жыл бұрын
you have the art of explaining
@blisteredoutlaw1993
@blisteredoutlaw1993 4 жыл бұрын
Thanks to KZfaq algorithm for suggesting your channel to me!
@ankitkalavagunta8951
@ankitkalavagunta8951 10 ай бұрын
Very well explained!
@TP_Raks
@TP_Raks 4 жыл бұрын
The Hero we need but don't deserve. 😢Thank you so much good Sir. Great explanation
@user-to9gg1wm7v
@user-to9gg1wm7v 2 жыл бұрын
Thanks and I really like you work...keep it up .
@sumitdas-kr6fe
@sumitdas-kr6fe 3 жыл бұрын
Very good explanation.
@lifedatatech6917
@lifedatatech6917 3 жыл бұрын
Great explanation!
@alon.galperin
@alon.galperin 4 жыл бұрын
Great video, thank you! small request - can you please create playlist of Node.js Basics so it will be easier to follow? Thnaks
@khushgandhi6638
@khushgandhi6638 4 жыл бұрын
Thank you so much sirji ♥️
@delavago5379
@delavago5379 4 жыл бұрын
No offense but as a person from the Caribbean that normally needs a clear English accent to understand these videos your video was really clear and informative. Thank you 💕
@rguntu9
@rguntu9 4 жыл бұрын
Great info Thanks.
@mpdcuk
@mpdcuk 3 жыл бұрын
I like how your hoodie colour matches the purple of the border and font.
@mujkocka
@mujkocka 11 ай бұрын
very nice videos. with a lot of design decision info. Devil is in the detail. so important.
@XiaZ
@XiaZ 4 жыл бұрын
In a multithreaded environment: Many waiters take orders from the customer and wait at the kitchen for the food to be prepare before delivering it to the table, order by order. In Node.js environment: One single waiter takes the order and then tell the cook what to prepare, and only when the food is done, come back and take it to the table. PS. Node.js can also have more than one waiter, the waiter is just smarter by not waiting at the kitchen ;)
@hariwarshan931
@hariwarshan931 3 жыл бұрын
Ok then what is the one who is actually preparing the food. for example am asking 5 different data which is in mongodb through 5 requests and so who is actually getting the data from mongodb ( who prepares food ). Is that a separate process ?
@XiaZ
@XiaZ 3 жыл бұрын
@@hariwarshan931 It depends on number of workers handing the stove you have. In case of MongoDB, this number will be equal to core count on your DB server. waiter can submit the order to kitchen and then go back to his work, and depend on number of cook you have, they'll start preparing the food by order, when done, waiter go back to get the food to the table.
@AnonymousAccount514
@AnonymousAccount514 4 жыл бұрын
its nice to see your face...after only hearing your voice for years
@aasmundnrsett8751
@aasmundnrsett8751 9 ай бұрын
Thank you!
@keshavkumar8385
@keshavkumar8385 2 жыл бұрын
explained really well ❤️
@ernestmolner18
@ernestmolner18 2 жыл бұрын
You can make node multi thread if you want to. It is not usually that way but there are modules that make it as multi thread as you want it to be.
@mkhalidumer
@mkhalidumer 4 жыл бұрын
can you please suggest, what should be used Where nodejs is not a good option ?
@philheathslegalteam
@philheathslegalteam 4 жыл бұрын
This has to be the best explanation of NodeJS yet.
@FG-qs8uj
@FG-qs8uj 4 жыл бұрын
You could use node js for blocking operations if you create copies of the node process, is that right?
@BeastinlosersHD
@BeastinlosersHD 4 жыл бұрын
Any opinions on it fronting for a MySQL db? That is what I am currently doing, but I noticed you specifically pointed out it as a front for No SQL, however, what I'm doing it pretty similar, instead of converting JSON to a proper response, I'm converting SQL data into a JSON body. I'd imagine it would be fine, no?
@lesliestandifer
@lesliestandifer 4 жыл бұрын
Beastinlosers stayregular.net/blog/make-a-nodejs-api-with-mysql
@LunarcomplexMain
@LunarcomplexMain 4 жыл бұрын
So for an MMO, Node isn't / wouldn't be such a bad idea as long as keeping track of requests, responses, and other such actions (loops through any relevant entity like players, enemies, etc) are only done with small calculations?
@FedJimSmith
@FedJimSmith 3 жыл бұрын
very nice explanation
@rodpadev
@rodpadev 4 жыл бұрын
Great video!
@anasalhariri5474
@anasalhariri5474 2 жыл бұрын
Would Nodejs still blocking if you used an asynchronous function to calculate the lengthy operation using nodeJS?
@shagging8727
@shagging8727 2 жыл бұрын
does a+b will send to the event loop, I think it'll be sent to stack?
@jfpinero
@jfpinero 3 жыл бұрын
Just curious on your thoughts of using node.js these days over netcore 3+?
@MrJonathandsouza
@MrJonathandsouza Жыл бұрын
You can always use process manager like pm2 to spawn multiple instances of your node app and then act like a load balancer.
@Dev-Siri
@Dev-Siri 9 ай бұрын
this is a good enough approach, although processes are heavier than real multi-threading. Worker threads solve this well but they have a funny api.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 674 М.
Chips evolution !! 😔😔
00:23
Tibo InShape
Рет қаралды 8 МЛН
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 4,1 МЛН
Glow Stick Secret (part 2) 😱 #shorts
00:33
Mr DegrEE
Рет қаралды 47 МЛН
Is TypeScript (NodeJS) Faster than Go?? |  A server comparison
9:54
ThePrimeagen
Рет қаралды 210 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,5 МЛН
Is it concurrent or parallel?
3:48
Jacob Sorber
Рет қаралды 16 М.
PROOF JavaScript is a Multi-Threaded language
8:21
Beyond Fireship
Рет қаралды 258 М.
Chips evolution !! 😔😔
00:23
Tibo InShape
Рет қаралды 8 МЛН