My Blog Engineering Practice: From Static Build to Automated Ops

My Blog Engineering Practice: From Static Build to Automated Ops

Writing a blog is more than just outputting words; for an engineer, the blog itself is an engineering project that undergoes continuous iteration and optimization. Since its inception, this site has evolved from simple static page generation to a highly automated system. Today, I’ll share the tech stack and engineering practices behind this blog. 🏗 Full-Stack Architectural Design This site is built on Hugo and utilizes a fully containerized (Docker) deployment scheme. To ensure data sovereignty and minimalist operations, I opted for self-hosted services instead of Algolia or various third-party comment plugins. ...

January 6, 2026 · 4 min · 658 words · Allen
Complete Record of Troubleshooting CPU Jitter in uWSGI + Django Stability Tests

Complete Record of Troubleshooting CPU Jitter in uWSGI + Django Stability Tests

uWSGI + Django Stability CPU Jitter Troubleshooting Record Problem Phenomenon In a stability test, a Django application published using uWSGI showed periodic CPU jitter. From the monitoring chart, it can be seen that a significant CPU usage peak occurs approximately every 4 hours, accompanied by a drop in memory usage: Preliminary Analysis: Attribution to GC Misconception First Instinct: Garbage Collection (GC) Observation: Memory drops when CPU peaks, looking like GC triggering. Time Pattern: Every ~4 hours, showing strong periodicity. Troubleshooting Direction: Check for scheduled GC (none found). Suspicion Direction: All Workers GC Simultaneously Through research, it was found that uWSGI’s pre-fork mode might lead to: ...

December 8, 2025 · 2 min · 667 words · Allen
Nginx Configuration Developers Need to Know: Load Balancing, Health Checks, and Rate Limiting Explained

Nginx Configuration Developers Need to Know: Load Balancing, Health Checks, and Rate Limiting Explained

In high-concurrency, distributed systems, Nginx is not only a reverse proxy but also the first line of defense for service stability. Recently, while working with a client on high availability tests, I discovered that some functions could be perfectly handled using Nginx configurations. 📌 This article applies to Nginx Open Source (non-Plus), and all configurations have been verified in production environments. 1. Choosing a Load Balancing Strategy Nginx’s upstream module supports various load balancing algorithms. Choosing a reasonable one can significantly improve system stability and resource utilization. ...

December 4, 2025 · 2 min · 835 words · Allen