Tarsier LabsTarsier Labs
🐡
Home
Categories
Tags
Bookmarks
About
Back to tags

nginx

0 articles

4-Core Server Backend Optimization Report: Why Cluster Mode Is Not the Answer

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."

00
Performance Optimization
SSL Certificate Full Automation β€” Let's Encrypt Initial Application and Scheduled Renewal Shell Script Practice

SSL Certificate Full Automation β€” Let's Encrypt Initial Application and Scheduled Renewal Shell Script Practice

Based on two production-grade scripts, init-cert.sh and renew-cert.sh, this article explains core designs including DNS verification, certbot standalone mode certificate application, automatic renewal checks, and graceful Nginx stop/start. It includes complete cron automatic renewal configuration.

00
Operations and Deployment
Nginx API Gateway: Comprehensive Practices from Multi-Domain Development to Production-Grade Security and Performance

Nginx API Gateway: Comprehensive Practices from Multi-Domain Development to Production-Grade Security and Performance

An in-depth analysis of nginx configuration practices in real-world projects, covering development environment multi-domain routing, Google OAuth compatibility, Next.js HMR proxy, and production environment SSL/TLS, dual-zone rate limiting, proxy caching, Bot 444 silent blocking, and CORS dual-insurance mode. Includes a complete request routing matching priority table and a summary of pitfalls encountered.

00
Operations and Deployment