Skip to content

TankEngine-ish/express_pm2_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express_PM2_Server

Express_PM2_Server was a simple project that was all about getting familiar with a load balancer. In my case the PM2. This is a tool that was build upon the functionality of the cluster module in Node.js.

It introduced me to a variety of topics such as horizontal and vertical scaling, the round-robin approach, zero down-time restarts, the difference between worker threads and clustering and when it's more appropriate to use one or the other, etc.

Alt text

The servers in the process list correspond to the amount of the logical cores of my CPU (12).

About

Experimental Server with PM2 Load Balancer [personal project]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published