Permalink
Browse files

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: #17031
Refs: nodejs/help#970
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information...
pimlie authored and MylesBorins committed Nov 15, 2017
1 parent b16e6d2 commit 8cae573af1ca2b73d9cdb1f365f23fd2f90279e3
Showing with 2 additions and 1 deletion.
  1. +2 −1 doc/api/cluster.md
View
@@ -112,7 +112,8 @@ will be dropped and new connections will be refused. Node.js does not
automatically manage the number of workers for you, however. It is your
responsibility to manage the worker pool for your application's 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

0 comments on commit 8cae573

Please sign in to comment.