Skip to content
LouZai
Author

LouZai

10 years of front‑line experience at leading firms (Xiaomi, Baidu, Meituan) in development, architecture, and management; discusses technology and life.

36
Articles
0
Likes
151
Views
0
Comments
Recent Articles

Latest from LouZai

36 recent articles
LouZai
LouZai
Jan 22, 2024 · Backend Development

8 Interface Retry Mechanisms – Which One Should You Choose?

This article compares eight ways to implement retry logic for remote API calls—including simple loops, recursion, Apache HttpClient settings, Spring Retry, Resilience4j, a custom utility, thread‑pool asynchronous retries, and message‑queue based retries—while outlining best‑practice guidelines such as idempotency, retry limits, and concurrency control.

ConcurrencyHTTP ClientJava
0 likes · 17 min read
8 Interface Retry Mechanisms – Which One Should You Choose?
LouZai
LouZai
Jan 20, 2024 · R&D Management

Why Is Proactive Upward Reporting So Hard? Practical Insights on Upward Management

The article dissects why many avoid proactive upward reporting, outlines three core reasons—fear of unequal evaluation, formalism, and lack of confidence—then offers concrete reporting types, step‑by‑step structures, sincerity and differentiation tactics, and warns of misuse and cross‑level pitfalls.

Career Developmentleadershiporganizational behavior
0 likes · 22 min read
Why Is Proactive Upward Reporting So Hard? Practical Insights on Upward Management
LouZai
LouZai
Jan 17, 2024 · Backend Development

Unveiling the Core Architecture of Xxl-Job: A Lightweight Distributed Scheduler

This article walks through Xxl-Job’s core concepts, demo setup, executor initialization, job‑handler registration, scheduling thread logic, fast/slow thread‑pool optimization, routing strategies, blocking policies, and result callbacks, revealing how the lightweight distributed scheduler operates end‑to‑end.

Backend DevelopmentJob ExecutorSpring Boot
0 likes · 21 min read
Unveiling the Core Architecture of Xxl-Job: A Lightweight Distributed Scheduler
LouZai
LouZai
Jan 3, 2024 · Databases

Why Redis Chooses Hash Slots Over Consistent Hashing

The article explains how Redis Cluster distributes keys using CRC16‑based hash slots instead of traditional consistent hashing, detailing the slot calculation, node addition and removal processes, client redirection, smart client optimizations, and the design reasons behind the fixed 16,384 slot count.

CRC16ClusterHash Slots
0 likes · 9 min read
Why Redis Chooses Hash Slots Over Consistent Hashing
LouZai
LouZai
Dec 21, 2023 · Backend Development

Which Service Registry Should You Choose? A Deep Dive into Zookeeper, Eureka, Nacos, Consul, and Etcd

This article compares five popular service registries—Zookeeper, Eureka, Nacos, Consul, and Etcd—by explaining their core concepts, CAP trade‑offs, consensus algorithms, feature sets, and practical deployment considerations to help engineers select the most suitable solution for their microservice architecture.

CAP theoremEurekaNacos
0 likes · 22 min read
Which Service Registry Should You Choose? A Deep Dive into Zookeeper, Eureka, Nacos, Consul, and Etcd
LouZai
LouZai
Dec 19, 2023 · Cloud Native

Understanding Distributed Tracing Systems with 30 Illustrative Diagrams

This article explains the principles and benefits of distributed tracing, introduces the OpenTracing standard, details SkyWalking's architecture and solutions for automatic span collection, context propagation, unique trace IDs, sampling strategies, performance impact, and shares practical customizations and plugin development experiences.

OpenTracingSkyWalkingdistributed tracing
0 likes · 17 min read
Understanding Distributed Tracing Systems with 30 Illustrative Diagrams
LouZai
LouZai
Dec 18, 2023 · Databases

How Many Rows Can a Single MySQL Table Actually Store? A Deep Dive

This article analyzes the theoretical and practical limits of a single MySQL InnoDB table by examining B+‑tree depth, page layout, row format, and index pointer size, then calculates minimum and maximum record counts for int and bigint primary keys and validates the results with real‑world table schemas.

B+ treeIndex PointerInnoDB
0 likes · 13 min read
How Many Rows Can a Single MySQL Table Actually Store? A Deep Dive
LouZai
LouZai
Dec 14, 2023 · Backend Development

How Ctrip Handles 20 Billion Daily Requests: Inside Its High‑Performance API Gateway

Facing 20 billion daily requests, Ctrip’s API gateway evolved from a Zuul‑based prototype to a fully asynchronous, single‑threaded Netty design, employing RxJava, custom flow control, multi‑protocol support, and modular governance to achieve high throughput, low latency, and scalable operations.

API gatewayAsynchronous DesignNetty
0 likes · 20 min read
How Ctrip Handles 20 Billion Daily Requests: Inside Its High‑Performance API Gateway