app.js have a sample node js code , which creates a server on port 80 in localhost and render the content
pm2
pm2 is a process manager, which manages the running process in nodejs application. pm2 provides load balancing, zero downtime, and auto scaling of cluster based on the size of the processor. pm2 provides rich interface to monitor the status of process & logs of the process.
Using pm2 also can do auto scaling and balancing the load distribution among multiple instances.
To check load test, can install another npm package loadtest
2 Comments
Its very informative blog👍
ReplyDeleteThanks for the kind complement
Delete