-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
small question about cluster. SCHED_RR #639
Comments
Refs: nodejs/node#13267 From the docs:
Does that answer your question? |
i read it, but i dont know the specifics. i guess check the c++ source?
Patrik
…On May 28, 2017 7:22 PM, "Gibson Fahnestock" ***@***.***> wrote:
Refs: nodejs/node#13267 <nodejs/node#13267>
From the docs <https://nodejs.org/api/cluster.html#cluster_how_it_works>:
The first one (and the default one on all platforms except Windows), is
the round-robin approach, where the master process listens on a port,
accepts new connections and distributes them across the workers in a
round-robin fashion, with some built-in smarts to avoid overloading a
worker process.
Does that answer your question?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#639 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AbQ4XBWvm5dzbWjxCduGT_EvAFkSU2Jmks5r-a1ugaJpZM4Nospv>
.
|
I'm not sure there's much |
awesome, thanks. |
ciao, could tell me what the round robin cluster scheduling?
if a process uses cpu 100% load in a fork worker, does it count about it or is something completely scheduling? so it will use another process when it overloaded?
The text was updated successfully, but these errors were encountered: