Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
Node.js by default is using a single core of a processor for code execution. Therefore, Node.js introduced a cluster module to spawn processes. “Cluster” was introduced to scale an application execution on multiple processor cores by creating worker processes. Worker processes share a single port, therefore, requests are routed through a shared port.
...