Ben Noordhuis
c26a0b5aab
doc: fix grammar error in cluster docs
13 years ago
isaacs
90ce5b3d41
cluster: Rename 'death' back to 'exit'
13 years ago
Andreas Madsen
83aae35b8e
doc: fix markup in cluster docs
13 years ago
isaacs
dce8682827
cluster: English language fixing
13 years ago
Andreas Madsen
d927fbc9ab
cluster: add graceful disconnect support
This patch add a worker.disconnect() method there will stop the worker from accepting
new connections and then stop the IPC. This allow the worker to die graceful.
When the IPC has been disconnected a 'disconnect' event will emit.
The patch also add a cluster.disconnect() method, this will call worker.disconnect() on
all connected workers. When the workers are disconneted it will then close all server
handlers. This allow the cluster itself to self terminate in a graceful way.
13 years ago
isaacs
2d44dcc8be
doc: Add stability indicators to documentation
13 years ago
isaacs
6738d82e38
doc refactor: cluster
13 years ago
isaacs
6e51db1268
doc refactor: cluster
13 years ago
Andreas Madsen
23514fc946
[doc] cluster: remove part about autoFork since this do not exist
13 years ago
Andreas Madsen
f9a47debfc
Add cluster.setupMaster
Fixes #2470
13 years ago
Dan Williams
29ce743385
docs: fix syntax error on cluster api docs
13 years ago
Andreas Madsen
e2f1e50c60
typos
fixes #2465
13 years ago
Andreas Madsen
5f08c3cfa1
cluster improvements: Worker class and isolate internal messages
Fixes #2388
13 years ago
Andreas Madsen
07b1997388
Add env argument to cluster.fork
Fixes 2378
13 years ago
Eric Lovett
69d3bf1068
docs: minor grammar fix in cluster page
13 years ago
Ryan Dahl
1e3e6b7c15
cluster: add example for message passing
13 years ago
Ryan Dahl
d42006c80a
cluster: Remove eachWorker, workerCount
unnecessary
13 years ago
Ryan Dahl
86528489ec
new cluster api
13 years ago
koichik
52c2988f16
docs: fix option's name of cluster.startMaster()
13 years ago
Tj Holowaychuk
528c28587f
cluster: Add some docs, improve cluster.isWorker()
Fixes #1949 .
13 years ago
Ryan Dahl
c5d54010bc
node cluster is now a module instead of CLI interface
This is to make room for master process plugins instead of adding CLI
options as proposed in #1879 .
13 years ago
Ryan Dahl
de7fb33879
Add some docs for node cluster
13 years ago