Node.js clustering made easy with PM2

Introduction As you would probably know, Node.js is a platform built on Chrome's JavaScript runtime, gracefully named V8. The V8 engine, and hence Node.js, runs in a single-threaded way, therefore, doesn't take advantage of multi-core systems capabilities. Node.js cluster module Luckily enough, Node.js offers the cluster module, which basically will spawn some workers which can all share any TCP connection. How does it work ? Cluster module will set up a master and then fork your server app as…

author

Alexandre Strzelewicz

PM2 0.11 release

PM2 and Keymetrics I/O are taking off! The last few weeks have been quite busy! We are moving hand in hand with Open Source contributors, freelances around the world and our own taskforce to enhance everything. Once again, we upgraded PM2 and we are proud to anounce this new 0.11 release. This version integrates features that had been requested for a while, as well as new nifty tools! This includes: Multi-user support and permissions You can now host multiple PM2s on your server and set the righ…

author

Alexandre Strzelewicz

Start monitoring your application in less than a minute

TAKE A TOUR