Node.js Tutorial - 61 - Cluster Module

  Рет қаралды 32,558

Codevolution

Codevolution

Жыл бұрын

⚡️Syncfusion components: syncf.co/3Emhvnv
📘 Courses - learn.codevolution.dev/
💖 Support UPI - support.codevolution.dev/
💖 Support Paypal - www.paypal.me/Codevolution
💾 Github - github.com/gopinav
📱 Follow Codevolution
+ Twitter - / codevolutionweb
+ Facebook - / codevolutionweb
📫 Business - codevolution.business@gmail.com
Cluster Module
Node.js Tutorial
Node.js Tutorial for Beginners

Пікірлер: 51
@xenky0
@xenky0 7 ай бұрын
I think the whole course has an extremely deep explanation that a senior must know, it's not just for a beginner. Super nice tutorials and many thanks to the authors.
@narotamkumarmishra6139
@narotamkumarmishra6139 6 ай бұрын
yeah, coz explanation is beginner friendly😊
@mysuperemecy
@mysuperemecy Жыл бұрын
This series is by far one of the best to understand and work on nodejs. Thank you for teaching nodejs
@jm.sarmiento
@jm.sarmiento Жыл бұрын
precise and concise explanation. This is how all video tutorials should be. Thank you very much and congratulations for the content.
@mykola2173
@mykola2173 Жыл бұрын
Excellent series! Thank you!
@narotamkumarmishra6139
@narotamkumarmishra6139 6 ай бұрын
oh dude each second of this tutorial is so important and beginner friendly, just loved it 😍
@RaianDexter
@RaianDexter Жыл бұрын
Clear, accurate and useful. Thanks
@mohammedashiq2720
@mohammedashiq2720 Жыл бұрын
Outstanding presentation😍. Can understand quicly, Keep going👍
Ай бұрын
so good stuff , you cant find these type of good nodejs content outthere , thank you for your time
@AnimeEditsMemes
@AnimeEditsMemes Жыл бұрын
For users with windows OS please include cluster.schedulingPolicy='rr' to round robin, by default for windows the clusters scheduling policy will be set to none and works will not be distributed among the child process no matter the number of logical cores child process created the master handles all the load and blocks other requests.
@akashmittal2155
@akashmittal2155 Жыл бұрын
cluster.schedulingPolicy = cluster.SCHED_RR ; adding this worked for me, don't know why but 'rr' gives out error on my system
@AnimeEditsMemes
@AnimeEditsMemes Жыл бұрын
@@akashmittal2155 yes it's SCHED_RR just used short form rr😮‍💨
@akashmittal2155
@akashmittal2155 Жыл бұрын
Bro, any idea on how to change the clustering policy while running pm2 on windows?
@srl123-u7z
@srl123-u7z Жыл бұрын
Thanks
@redblue17
@redblue17 9 ай бұрын
@@akashmittal2155 Thanks friend. I literally spent 5+ hrs figuring it. Tried 100+ methods. I thought it is power saving mode fault/ Os fault but every time Os shows 8 processors but never worked..
@adehenry9591
@adehenry9591 Жыл бұрын
Legendary stuffs Vishwas 👏🏻
@axelfuzzi1532
@axelfuzzi1532 Жыл бұрын
Hermoso tutorial, es todo lo que necesitaba leer
@judevector
@judevector 4 ай бұрын
I keep learning alot
@arnabdas2967
@arnabdas2967 Жыл бұрын
GOD LEVEL VIDEO ..... salute SIR ..... WAY WAY BETTER THAN UDEMY COURSES
@Lerndemy
@Lerndemy Жыл бұрын
legend teacher!!
@ahsanmumtaz2918
@ahsanmumtaz2918 9 ай бұрын
Very nice explanation Vishwas 💌
@thecartoonworld2301
@thecartoonworld2301 Жыл бұрын
Amazing Content 🎉
@sairam-du7ip
@sairam-du7ip Жыл бұрын
thank you sir 🙏
@ParvizBabakishiyev
@ParvizBabakishiyev Ай бұрын
Thanks for the video, I'd like to point out that using workers in the example doesn't actually solve the problem of blocking event loop. Whether you have a single-core process or multiple-core processes you're still blocking the event loop. Worker threads may have been useful here.
@promiseihunna4714
@promiseihunna4714 Жыл бұрын
Superb.
@odntht
@odntht 11 ай бұрын
If you are using Node v18.14.0 or newer version at the NodeJS docs they say to not use 'os.cpus().length' but use 'os.availableParallelism()' instead.
@frontend_ko
@frontend_ko Жыл бұрын
thanks teacher 61
@shineLouisShine
@shineLouisShine Жыл бұрын
An impressive teaching, ALTHOUGH...... It could have been really impressive if it was completely working. I run no-cluster.js with pm2 and an identical code as the one in the video- And while not loading as slow as "/slow-page" - the home page does load quite slower, Which makes me wonder about the pm2 capabilities (/optimization).
@kamgasimojunior5131
@kamgasimojunior5131 8 ай бұрын
Thanks
@coadingwithpandeyji
@coadingwithpandeyji Жыл бұрын
i am so gratefull to you even my mentors are secretly studying from you may be can you provide express i dont want to study from them
@ctcsys
@ctcsys 11 ай бұрын
Can that be run fully on client side too? Thinking of a client / shared with other clients cluster of JS - only starting in browser - never hit server?
@uncleiroh3616
@uncleiroh3616 Жыл бұрын
The threads work at the same time on a single request. Is it possible to distribute work between threads
@raviwebdeveloper8517
@raviwebdeveloper8517 9 ай бұрын
I have a doubt, like in video 41(Network I/O) you said that network Input/Output opeartions are job of OS kernel,and thread pool does not effect the performance, so in that case why here we are seeing low performance in page requests, wont the OS kernel takes responsibility of the incoming requests
@thanhpc7749
@thanhpc7749 3 ай бұрын
I have a question that why the log show `Server is running on port 8000` 2 times but we don't encounter with the error "the address 8000 is already used ..."
@akshaynitin5589
@akshaynitin5589 2 ай бұрын
I'm confused on this tutorial use case. javascript is single threaded, so we need node.js to act like async communication using libuv. but node will comes under single threaded. it occupied single core of cpu.
@rajajairamrameshbabu7605
@rajajairamrameshbabu7605 Жыл бұрын
Please make viedo javascript input and output setup in vs code for codeforce competitive programming
@nermeenghanem4309
@nermeenghanem4309 Жыл бұрын
For those who are js, React front-end developers, which track is preferable ; node js or php for starting backend?
@pooyaestakhry
@pooyaestakhry Жыл бұрын
I was a PHP developer for years but after starting a react project, choice of PHP as back end caused an extra overhead because of constantly changing programing language that i was working with. at the end i switched to NodeJS and rewrote the PHP code.
@nermeenghanem4309
@nermeenghanem4309 Жыл бұрын
@@pooyaestakhry How long does it take to study node js and start working with it?
@pooyaestakhry
@pooyaestakhry Жыл бұрын
@@nermeenghanem4309 learning is not a one time thing to do and be done with it but in order to start you can just start with one of the tutorials on Node with Express and start from there.
@demogyani2419
@demogyani2419 3 ай бұрын
So far I have observed one thing. After all the things and new implementations everything becomes like PHP😂
@krish_techaadimulam2243
@krish_techaadimulam2243 Жыл бұрын
sir,can u tell me how much parts,latest is 61,tell me how many parts r there approximate,pls rply to me sir
@iamsantoshmallick
@iamsantoshmallick Жыл бұрын
He already mentioned that this is last module may be max to max 10 videos and this course will be over.
@simple8810
@simple8810 Жыл бұрын
@@iamsantoshmallick hope he start express next to this series'
@MjCNirdna
@MjCNirdna 4 ай бұрын
5:22
@abdulrazaqharoon2733
@abdulrazaqharoon2733 Жыл бұрын
Nodejs is beginnign to scare me, I thought the series would be finished by now. I stopped at 35 waiting for the series to end, its been 2 months now. Scaryyyy!!
@sanjarcode
@sanjarcode Жыл бұрын
Actually, he's splitting down videos into byte sized chunks. The whole event loop and queues video (10 videos) are mostly taught in one single video.
@korkut31
@korkut31 Жыл бұрын
why u strect out every every word at the end of the sentence. do u think that u are speaking a good hearing English ? it is so annoying..
@mucahtcnar7480
@mucahtcnar7480 7 ай бұрын
korkut kapat çeneni adam nodejs ile ilgili derin konseptleri güzel açıklamış takıldığın şeye bak
Node.js Tutorial - 62 - Worker Threads Module
6:33
Codevolution
Рет қаралды 35 М.
Scaling your Node.js app using the "cluster" module
13:44
Software Developer Diaries
Рет қаралды 36 М.
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 9 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 117 МЛН
Redis Caching in Node.js
17:42
Traversy Media
Рет қаралды 227 М.
How to scale NodeJs applications using the cluster module.
12:38
Piyush Garg
Рет қаралды 30 М.
How to scale NodeJs applications using the cluster module.
13:37
Mafia Codes
Рет қаралды 49 М.
A Deep Dive into Node.js Streams | Masterclass
1:15:46
Platformatic
Рет қаралды 8 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 632 М.