mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
Update multi-core text on index.html
This commit is contained in:
parent
a9366818a1
commit
6a83df04b6
@ -187,8 +187,12 @@ server.listen(1337, "127.0.0.1");
|
||||
But what about multiple-processor concurrency? Aren't threads
|
||||
necessary to scale programs to multi-core computers?
|
||||
</i>
|
||||
You can start new processes via <code>child_process.fork()</code>
|
||||
You can start new processes via
|
||||
<a href="http://nodejs.org/docs/latest/api/child_processes.html#child_process.fork"><code>child_process.fork()</code></a>
|
||||
these other processes will be scheduled in parallel.
|
||||
For load balancing incoming connections across multiple processes
|
||||
use <a href="http://nodejs.org/docs/latest/api/cluster.html">the
|
||||
cluster module</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user