4-Core Server Backend Optimization Report: Why Cluster Mode Is Not the Answer
This article documents the multi-core optimization evaluation process for a NestJS API backend deployed on a 4-core VPS. It analyzes the feasibility of Cluster mode, UV_THREADPOOL_SIZE, database query optimization, Redis caching, and Nginx cache tuning one by one, ultimately concluding that "the bottleneck is DB I/O, not CPU."