PM2 logo

PM2

Ease-to-use Node.js process manager, like forever
275
177
+ 1
9

What is PM2?

Production process manager for Node.js apps with a built-in load balancer
PM2 is a tool in the Node.js Process Manager category of a tech stack.
PM2 is an open source tool with 32.4K GitHub stars and 2.2K GitHub forks. Here’s a link to PM2's open source repository on GitHub

Who uses PM2?

Companies
87 companies reportedly use PM2 in their tech stacks, including Backend, Software Engineering, and hogangnono.

Developers
169 developers on StackShare have stated that they use PM2.
Public Decisions about PM2

Here are some stack decisions, common use cases and reviews by companies and developers who chose PM2 in their tech stack.

Nicolas Theck
Nicolas Theck
Student at RocketPlay · | 3 upvotes · 57.7K views

We use JavaScript in both our #Frontend and #Backend. Front-End wise, we're using tools like Vue.js , Webpack (for dev & building), pulsejs . For delivering the content, we push to GitLab & use GitLab CI (running on our own Ubuntu machine) to install (with npm) our packages, build the app trough Webpack and finally push it to our nginx server via a folder. From there, use accessing the website will get cached content thanks to CloudFlare. Back-End wise, we again use JavaScript with tools such as ExpressJS (http server), Sequelize (database, server running on PostgreSQL ) but also JSON Web Token with passport to authenticate our users. Same process used in front-end is used for back-end, we just copy files to a dist where PM2 watches for any change made to the Node.js app. Traffic doesn't go trough CloudFlare for upload process reasons but our nginx reverse proxy handles the request (which do go trough CloudFlare SSL-wise, since we're using their ns servers with our OVH domain.) Other utils we use are SendGrid for email sending & obviously HTML5 for the base Vue.js app. I hope this article will tell you more about the Tech we use here at RocketPlay :p

See more

PM2 Alternatives & Comparisons

What are some alternatives to PM2?
Docker
The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
forever
It is a simple CLI tool for ensuring that a given script runs continuously. It is used to keep the server alive even when the server crash/stops. When the server is stopped because of some error, exception, etc.it automatically restarts it.
nodemon
It is an open source utility that will monitor for any changes in your source and automatically restart your server. It has a default support for node & coffeescript, but easy to run any executable (such as python, make, etc).
nginx
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
Supervisord
It allows its users to monitor and control a number of processes on UNIX-like operating systems. It shares some of the same goals of programs like launchd, daemontools, and runit. it is meant to be used to control processes related to a project or a customer, and is meant to start like any other program at boot time.
See all alternatives

PM2's Followers
177 developers follow PM2 to keep up with related blogs and decisions.
sarunyhot9574
Jesse Cloutier
Jeremy Pitt
Harish Haridas
Ignacio Collantes
Joey Pacini
mohammad pouya liaghat mehr
piyush-bhatt
niiArt dvp
Tiago Santos