Tagged articles
10 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Oct 15, 2025 · Backend Development

Master Automatic Restarts for Node.js: From Nodemon to PM2 and Docker

Learn how to ensure your Node.js applications stay alive by configuring automatic restarts for both development and production environments, using tools like Nodemon, PM2, Docker restart policies, systemd, and advanced PM2 features such as clustering, log management, and crash handling.

DockerNode.jsautomatic restart
0 likes · 14 min read
Master Automatic Restarts for Node.js: From Nodemon to PM2 and Docker
Code Mala Tang
Code Mala Tang
Jul 1, 2025 · Backend Development

2025 Node.js Best Practices: ES Modules, Native fetch, Vitest, Bun & More

Discover the essential 2025 Node.js development techniques—including default ES modules, built-in fetch API, modern testing with Vitest, Bun compatibility, mandatory TypeScript, environment management with dotenv, zero-config tools, and robust process handling with PM2—to boost performance, maintainability, and developer productivity.

BunES ModulesTypeScript
0 likes · 10 min read
2025 Node.js Best Practices: ES Modules, Native fetch, Vitest, Bun & More
BaiPing Technology
BaiPing Technology
Apr 4, 2022 · Backend Development

How to Sync Log4js Logs Across PM2 Processes with pm2-intercom-log4js

This article explains how to create the open‑source pm2-intercom-log4js tool to reliably synchronize log4js output in PM2’s multi‑process mode, covering log4js’s sync mechanism, PM2 process management, IPC communication, and alternative messaging approaches with practical code examples.

BackendNode.jsProcess Communication
0 likes · 17 min read
How to Sync Log4js Logs Across PM2 Processes with pm2-intercom-log4js
Beike Product & Technology
Beike Product & Technology
Nov 18, 2020 · Backend Development

How to Set Up a Private npm Registry with cnpmjs on Ubuntu

This guide explains how to build a private npm registry on Ubuntu using cnpmjs, covering MySQL installation, server configuration, repository setup, package publishing, and synchronization options, providing step‑by‑step commands and troubleshooting tips for a stable internal package management solution.

DeploymentPrivate RegistryUbuntu
0 likes · 10 min read
How to Set Up a Private npm Registry with cnpmjs on Ubuntu
System Architect Go
System Architect Go
Feb 2, 2019 · Backend Development

From Node.js to Python: Essential Tools for a Smooth Transition

This guide walks Node.js developers through Python equivalents—pipenv for package management, nodemon for live reload, Sanic as an async web framework, and pm2 for process monitoring—offering concrete commands, configuration tips, and platform‑specific caveats.

Backenddevelopment-toolsnodemon
0 likes · 4 min read
From Node.js to Python: Essential Tools for a Smooth Transition
Node Underground
Node Underground
Oct 26, 2017 · Backend Development

Mastering Node.js Scaling: Cloning, Decomposing, and Splitting Strategies

This article explains how Node.js’s built‑in cluster module and external tools like PM2 can be used to improve stability and load capacity through three scaling strategies—cloning, decomposing, and splitting—allowing applications to fully leverage multi‑core CPUs and achieve zero‑downtime restarts.

Clusternodejsperformance
0 likes · 2 min read
Mastering Node.js Scaling: Cloning, Decomposing, and Splitting Strategies