Javascript

How To Scale Node.js Applications with Clustering — step-by-step Javascript tutorial on Progressive Robot

How To Scale Node.js Applications with Clustering

In this tutorial, you will scale a Node.js application using the cluster module on a machine with four or more CPUs. You’ll create an application that does not use clustering, then modify the app to use clustering. You’ll also use the pm2 module to scale the application across multiple CPUs. You’ll use a load testing tool to compare the performance of the app that uses clustering and the one that doesn’t, as well as assess the pm2 module.

Read more
CHAT