Quantcast
Channel: danecando
Viewing all articles
Browse latest Browse all 12

pm2 a great alternative to forever for node js

$
0
0

I was having some trouble with the forever module failing on some of my node applications and was getting quite frustrated. Granted I am probably ignorant to the real issue but I am very impatient and quick to Google for solutions.

With that being said I came across an awesome process manager for node with some great features.

It's called pm2

pm2 is a process manager for Node apps with a builtin load-balancer

Features:

  • Builtin load-balancer (using the node cluster module)
  • Script daemonization
  • 0s downtime reload
  • Startup scripts for Ubuntu and CentOS
  • Stop unstable process (avoid infinite loop)
  • Monitoring in console
  • HTTP API
  • Remote control and real time interface API

I am currently using it to keep this blog running.

It's very easy to use and I haven't encountered any problems yet. Check out their github repo @ https://github.com/Unitech/pm2


Viewing all articles
Browse latest Browse all 12

Trending Articles