Articles tagged in: Server



PM2 — Cluster Mode and Zero-Downtime Restarts

You’ve already learned how to start, stop, or delete application processes with PM2. There is a major downside having only one app process running: app updates. Deploying updates to your application requires a restart to make the changes available to every visitor. These app restarts will cause a downtime, …

Continue Reading

PM2 — CPU/Memory Monitoring

The previous posts within this series guided you through the topics of process management, how to display currently managed app instance processes and how to restart your applications after system reboots. With PM2, you can also monitor your app processes in respect of CPU and memory utilization. This article will …

Continue Reading

PM2 — Update the Utility

You already know how to use PM2 to start and stop processes. Honestly, installed tools, utilities and apps on your server to run your actual applications are one of the things you don’t want to touch that often and PM2 is no exception. Once everything is installed and running, …

Continue Reading

PM2 — List Processes and Show Process Details

The last two blog posts on PM2 covered the utility overview and guided you through the process management including start, restart, stop and delete processes of various types (Node.js, Ruby, Python, PHP, etc). Once you have processes started with PM2, you want to get a comprehensive overview of currently …

Continue Reading

PM2 — Process Management

Within the previous PM2 post, we introduced the utility and touched some of its capabilities. This articles moves on to the core of PM2: process management. We show you how to list running process, start and restart new process as well as stop and delete running app servers to shut …

Continue Reading

PM2 — Utility Overview & Installation

Back in May 2015 we updated our server setup and started to use a bunch of new tools to avoid server administration headaches. We mostly rely on Node.js apps (Ghost, our homepage is built on hapi, Strider) and wanted a reliable process manager to keep started servers alive. We …

Continue Reading

Nginx Load Balancing — Advanced Configuration

Within the previous post on how to use nginx load balancing, we showed you the required nginx configuration to pass traffic to a group of available servers. This week, we dive into the advanced nginx configuration like load balancing methods, setting server weights, and health checks. {{outline}} Load Balancing Mechanisms …

Continue Reading

How to Use Nginx as a Load Balancer

Load balancing a great method to reduce latency, improve resource utilization and ultimately increase fault-tolerance. If you already use nginx as a reverse proxy, you can easily update your configuration to enable load balancing functionality for your application. This guide shows you how to configure nginx to forward requests to …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.