An open source project, PM2 is a process manager solution from Keymetrics that resolves the issue of abrupt application crashes in Node.js by enabling automatic application load-balancing and declarative application configuration, alongside monitoring the system. It manages application states making it easy for an admin to start, stop, restart, and delete processes. “Launching your Node.js apps with PM2 in "cluster-mode" will automatically scale your app by effectively load balancing it on available cores in the system” explains Shubham Sharma, the CMO at Keymetrics. The “cluster mode” allows the scaling of networked Node.js applications across all available CPUs, without any code modifications. Depending on the number of CPUs available, it increases the performance and reliability of the applications. PM2 also enables updating an application without any downtime.
The Keymetrics solution is a powerful networking software providing a complete toolset for monitoring the Node. js applications and processes. Everything from the CPU, memory usage, exception rate over time can be monitored through a real-time multi-server overview of all the involved servers and applications from a single dashboard.
Launching our app with PM2 in the cluster-mode distributes a load through a number of servers while effectively balancing it on available processors in the system
Its ability to remotely trigger functions alongside event tracking with remote retrieval of heapdump and CPU profiling for Node.js gives Keymetrics a worldwide recognition.
To top it off, PM2 can isolate logs and display them on the dashboard. A configurable alert system that comes with the dashboard can be set up to send e-mail notifications or raise flags on the dashboard itself. With Keymetrics, any user can create and run custom events from a code.
The underlying ideology behind their service is to provide value over complexity with complete application optimization, easy integration, and application monitoring on an intuitive and interactive graphical dashboard. “We aim to provide better interoperability to our customers by reducing the complexity of the tool’s infrastructure. We keep it simple—monitor, debug, and optimize,” explains Alexandre Strzelewicz, the founder and CEO of Keymetrics.
With over 48,000,000+ downloads, PM2 has become the first Process Manager for Node.js applications, and Keymetrics has empowered the global Node.js developer community with a complete performance management solution on an enterprise level. From providing large-scale clients with user-specific KPI dashboards to enabling start-ups to use the solution for basic monitoring needs by giving freedom to display anything in any desired format, Keymetrics has it all. With the technical advancement and the increasing adoption of Node.js in the community, the company has plans to enter the IoT space as well, making it the architecture of choice in the near future.