Node.js Tutorial - 61 - Cluster Module

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

📱 Follow Codevolution

Cluster Module
Рекомендации по теме
Комментарии
Автор

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.

xenky
Автор

This series is by far one of the best to understand and work on nodejs. Thank you for teaching nodejs

mysuperemecy
Автор

precise and concise explanation. This is how all video tutorials should be. Thank you very much and congratulations for the content.

jm.sarmiento
Автор

oh dude each second of this tutorial is so important and beginner friendly, just loved it 😍

narotamkumarmishra
Автор

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.

AnimeEditsMemes
Автор

so good stuff, you cant find these type of good nodejs content outthere, thank you for
your time

Автор

GOD LEVEL VIDEO salute SIR WAY WAY BETTER THAN UDEMY COURSES

arnabdas
Автор

Outstanding presentation😍. Can understand quicly, Keep going👍

mohammedashiq
Автор

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.

ParvizBabakishiyev
Автор

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.

odntht
Автор

Hermoso tutorial, es todo lo que necesitaba leer

axelfuzzi
Автор

An impressive teaching,
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).

shineLouisShine
Автор

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

coadingwithpandeyji
Автор

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

raviwebdeveloper
Автор

For those who are js, React front-end developers, which track is preferable ; node js or php for starting backend?

nermeenghanem
Автор

Please make viedo javascript input and output setup in vs code for codeforce competitive programming

rajajairamrameshbabu
Автор

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.

akshaynitin
Автор

So far I have observed one thing. After all the things and new implementations everything becomes like PHP😂

demogyani
Автор

The threads work at the same time on a single request. Is it possible to distribute work between threads

uncleiroh
Автор

How do you manage database connection for each cluster? I tried using middleware and check if the cluster is already connected to database or not and if not then establish the connection but the problem is the initial request would take time and result in time out and if the connection is established as soon as the worker are online then each worker gets connected to the database, this also includes creating indexes operation which in deed would cause more load to the databse. Can you provide a solution for this ?

bibashkatel