summaryrefslogtreecommitdiff
path: root/doc/api/cluster.md
diff options
context:
space:
mode:
authorpimlie <pimlie@hotmail.com>2017-11-15 14:53:57 +0100
committerAnna Henningsen <anna@addaleax.net>2017-11-18 20:42:04 +0100
commitadb7be2649abb9ffa835886427b48d765688fdb5 (patch)
treedef3fb104a5431e5937b92979674156fc5bcc6ca /doc/api/cluster.md
parent01f853cde60e137c11c3f5e3290456a528418720 (diff)
downloadandroid-node-v8-adb7be2649abb9ffa835886427b48d765688fdb5.tar.gz
android-node-v8-adb7be2649abb9ffa835886427b48d765688fdb5.tar.bz2
android-node-v8-adb7be2649abb9ffa835886427b48d765688fdb5.zip
doc: add note about using cluster without networking
Although the primary use-case for the cluster module is networking, the module provides a generic master/worker interface that could also be used if you dont use networking at all. Currently the docs are a bit ambiguous about this as only the primary use-case is ever mentioned, this remark should clarify that the cluster module can also be used without disadvantages if you dont use networking. PR-URL: https://github.com/nodejs/node/pull/17031 Refs: https://github.com/nodejs/help/issues/970 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r--doc/api/cluster.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 3ceec142b6..7ab4d33dbd 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -109,7 +109,8 @@ will be dropped and new connections will be refused. Node.js does not
automatically manage the number of workers, however. It is the application's
responsibility to manage the worker pool based on its own needs.
-
+Although a primary use case for the `cluster` module is networking, it can
+also be used for other use cases requiring worker processes.
## Class: Worker
<!-- YAML