You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,7 @@ The above is even true in browsers where only a single worker per CPU core (assu
81
81
82
82
At server level, memory usage is kept as low as possible and can be constant as the number of busy threads is always equal to the number of cores. The memory usage because of the runtime overhead (nodejs + user code) does not grow with the number of requests.
83
83
84
-
Build your application upon `src/NodeClusterBase` to automatically scale to all CPU cores using forked child processed.
85
-
86
-
Build your application upon `src/NodeWorkerThreadsBase` to automatically scale to all CPU cores using worker threads.
84
+
**It is dead simple to make use of this library to properly scale your application.** Just extend the existing base classes under `src/NodeClusterBase` (cluster workers aka forked child processes) or `src/NodeWorkerThreadsBase` (worker threads).
87
85
88
86
See the Transports section for additional RPC transports to export APIs for inter-process communication when using cluster workers or worker threads.
0 commit comments