Architect Chen
Author

Architect Chen

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

103
Articles
0
Likes
275
Views
0
Comments
Recent Articles

Latest from Architect Chen

100 recent articles max
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.

BatchingBig DataHigh Throughput
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.

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

Event-drivenNon-blocking I/Obackend
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.

Backend DevelopmentServer Architecturenginx
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.

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