From 7ee9d69888481a88cbfed66c87b3e1f98ee9f291 Mon Sep 17 00:00:00 2001 From: pimlie Date: Wed, 15 Nov 2017 14:53:57 +0100 Subject: [PATCH] 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 Reviewed-By: Anna Henningsen --- doc/api/cluster.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/cluster.md b/doc/api/cluster.md index c96031cce682a3..d0c801d53ee44e 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