Architect Chen
Author

Architect Chen

Sharing over a decade of architecture experience from Baidu, Alibaba, and Tencent.

95
Articles
0
Likes
204
Views
0
Comments
Recent Articles

Latest from Architect Chen

95 recent articles
Architect Chen
Architect Chen
Sep 21, 2025 · Backend Development

Mastering Nginx: Essential Directives, Server Blocks, and Performance Tweaks

This guide explains Nginx's core configuration concepts—including directives, contexts, server and location blocks—provides practical examples for setting up virtual hosts, reverse proxies, load balancing, SSL/TLS, gzip compression, and custom error pages, and offers performance‑optimisation tips for production environments.

ConfigurationSSLserver block
0 likes · 8 min read
Mastering Nginx: Essential Directives, Server Blocks, and Performance Tweaks
Architect Chen
Architect Chen
Sep 15, 2025 · Operations

Boost Website Speed with Nginx Static‑Dynamic Separation

This guide explains how Nginx can separate static resources from dynamic content, outlines the underlying principle, and provides a complete configuration example that improves response time and concurrency by serving files directly and proxying application requests to backend servers.

ConfigurationDynamic ProxyNginx
0 likes · 4 min read
Boost Website Speed with Nginx Static‑Dynamic Separation
Architect Chen
Architect Chen
Sep 10, 2025 · Big Data

How Kafka Achieves Million‑Message Throughput: Sequential Writes, Page Cache, Batching & Zero‑Copy

The article explains how Kafka attains high‑throughput performance by using sequential disk writes, leveraging the OS page cache, employing producer and consumer batching with configurable parameters, and utilizing zero‑copy sendfile to minimize CPU and memory overhead, enabling stable million‑message per second rates.

BatchingHigh ThroughputKafka
0 likes · 5 min read
How Kafka Achieves Million‑Message Throughput: Sequential Writes, Page Cache, Batching & Zero‑Copy
Architect Chen
Architect Chen
Sep 8, 2025 · Backend Development

Boost Nginx Performance: 10 Proven Configuration Tweaks

This guide explains ten practical Nginx optimizations—including event‑driven handling, worker process tuning, gzip compression, static and dynamic caching, DNS resolver settings, TCP_NODELAY, logging adjustments, request rate limiting, and HTTP/2 activation—to dramatically improve server throughput and latency.

ConfigurationOptimizationbackend
0 likes · 6 min read
Boost Nginx Performance: 10 Proven Configuration Tweaks
Architect Chen
Architect Chen
Sep 4, 2025 · Backend Development

How Nginx Achieves High Concurrency with Event‑Driven and Non‑Blocking I/O

This article explains Nginx's event‑driven architecture, asynchronous non‑blocking I/O, and master‑worker multi‑process model, showing how these techniques eliminate waiting, maximize resource utilization, and enable the server to handle massive concurrent connections efficiently.

High ConcurrencyNginxNon-blocking I/O
0 likes · 4 min read
How Nginx Achieves High Concurrency with Event‑Driven and Non‑Blocking I/O
Architect Chen
Architect Chen
Aug 25, 2025 · Backend Development

How Nginx Handles Requests: Master & Worker Process Deep Dive

This article explains Nginx's high‑performance architecture, detailing the roles of the Master and Worker processes, their responsibilities, and the step‑by‑step workflow from receiving a client request to generating and sending the HTTP response.

NginxServer Architecturebackend development
0 likes · 4 min read
How Nginx Handles Requests: Master & Worker Process Deep Dive
Architect Chen
Architect Chen
Aug 24, 2025 · Backend Development

Mastering Distributed Transactions: 2PC, 3PC, TCC, and Message‑Queue Strategies

This article explains the fundamentals of distributed transactions, illustrates why they are essential for multi‑service operations such as e‑commerce order processing, and compares four major solutions—two‑phase commit, three‑phase commit, TCC, and message‑queue based eventual consistency—detailing their workflows, advantages, and drawbacks.

2PC3PCMessage Queue
0 likes · 7 min read
Mastering Distributed Transactions: 2PC, 3PC, TCC, and Message‑Queue Strategies