InterviewSolution
Saved Bookmarks
| 1. |
Enhancing Node.js performance through clustering. |
|
Answer» Node.js APPLICATIONS run on a single processor, which means that by default they don’t take advantage of a multiple-core system. Cluster mode is used to start up multiple node.js processes thereby having multiple instances of the EVENT LOOP. When we start USING cluster in a nodejs app behind the scene multiple node.js processes are created but there is also a parent process called the cluster manager which is responsible for monitoring the HEALTH of the individual instances of our application. Clustering in Node.js |
|