LouZai
Author

LouZai

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

35
Articles
0
Likes
3
Views
0
Comments
Recent Articles

Latest from LouZai

35 recent articles
LouZai
LouZai
Dec 1, 2023 · Backend Development

Understanding All Major Distributed Lock Implementations in One Guide

This article explains what distributed locks are, outlines their key properties, classifies implementation approaches, and provides detailed walkthroughs of MySQL, Redis, Etcd, and ZooKeeper based locks—including code examples, trade‑offs, and best‑practice recommendations.

Distributed LockEtcdGo
0 likes · 21 min read
Understanding All Major Distributed Lock Implementations in One Guide
LouZai
LouZai
Nov 29, 2023 · Industry Insights

Why Did Didi’s App Crash? A Quick Look at the Outage and Its Possible Causes

The article reviews Didi’s massive November 27‑28 outage, examines reported symptoms, explores likely technical and organizational reasons such as infrastructure failures and cost‑cutting measures, and reflects on the impact of recent layoffs and server‑cost reductions on service reliability.

DidiOutagecloud migration
0 likes · 6 min read
Why Did Didi’s App Crash? A Quick Look at the Outage and Its Possible Causes
LouZai
LouZai
Nov 21, 2023 · Backend Development

From Monolith to Microservices: A Complete Evolution Guide

This article walks through the step‑by‑step evolution of an online supermarket from a simple monolithic web app to a fully split microservice architecture, highlighting the problems encountered, the rationale for each refactoring decision, and the essential components such as service isolation, messaging, monitoring, tracing, gateway, service discovery, circuit breaking, testing, and service mesh.

MicroservicesMonitoringcircuit breaker
0 likes · 22 min read
From Monolith to Microservices: A Complete Evolution Guide
LouZai
LouZai
Nov 13, 2023 · Industry Insights

Alibaba Cloud Outage: Massive Impact Across Alibaba Services

An Alibaba Cloud outage on November 12, 2023 caused yellow alerts, console and API failures, and service disruptions for Alibaba products such as Taobao, Xianyu, DingTalk, and Yuque, traced to an OSS storage component failure and detailed with a timeline, cause analysis, and personal reflections.

Alibaba CloudCloud ServicesIncident Report
0 likes · 5 min read
Alibaba Cloud Outage: Massive Impact Across Alibaba Services
LouZai
LouZai
Nov 10, 2023 · Backend Development

Design a Scalable Bus & Subway Ticketing System from Scratch

This article walks through the full architecture of a modern bus and subway ticketing platform, covering functional and non‑functional requirements, core components, interaction flows, database schema, shortest‑path routing with Dijkstra, QR‑code generation in Go, and high‑concurrency strategies.

QR codebackend designbus
0 likes · 16 min read
Design a Scalable Bus & Subway Ticketing System from Scratch
LouZai
LouZai
Nov 6, 2023 · Databases

Understanding SELECT … FOR UPDATE: Table, Row, and Gap Locks in MySQL

This article sets up a MySQL 5.7 environment, runs a series of SELECT FOR UPDATE queries on primary keys, unique indexes, normal indexes, range scans and non‑indexed columns, then analyzes the resulting lock types—row, gap, next‑key and table locks—and distills practical locking rules.

Gap LockInnoDBMySQL
0 likes · 13 min read
Understanding SELECT … FOR UPDATE: Table, Row, and Gap Locks in MySQL
LouZai
LouZai
Nov 3, 2023 · Information Security

5 Most Common Encryption Algorithms Every Developer Should Know

This article reviews five widely used encryption algorithms—MD5, SHA‑256, DES, AES, and RSA—explaining their classifications, Java implementations, strengths, weaknesses, and how they combine in HTTPS to secure data transmission.

HTTPSJavaasymmetric encryption
0 likes · 17 min read
5 Most Common Encryption Algorithms Every Developer Should Know
LouZai
LouZai
Nov 1, 2023 · Databases

Beyond Caching: Real‑World Redis Use Cases and Scenarios

The article explains how Redis’s rich data structures and persistence options enable it to serve not only as a distributed cache but also as a primary store for user profiles, counters, leaderboards, relationships, active‑user tracking, distributed locks, rate limiting, messaging, geospatial queries, and more, while also discussing high‑availability and hot‑cold data challenges.

Data StructuresDistributed LockGeospatial
0 likes · 19 min read
Beyond Caching: Real‑World Redis Use Cases and Scenarios
LouZai
LouZai
Oct 30, 2023 · Databases

How to Diagnose and Fix MySQL Master‑Slave Replication Lag

The article explains what MySQL master‑slave replication lag is, analyzes why it occurs—especially during relay‑log replay and large DDL/DML operations—and provides concrete configuration, hardware, and architectural solutions to reduce or eliminate the delay.

MySQLPerformanceconfiguration
0 likes · 8 min read
How to Diagnose and Fix MySQL Master‑Slave Replication Lag
LouZai
LouZai
Oct 27, 2023 · Industry Insights

How Programmers Can Take Charge of Their Career: Lessons from 20 Years in Tech

The article shares a veteran programmer’s perspective on navigating a tech career by understanding industry evolution, assessing one’s role with a Google SRE scorecard, strengthening fundamentals, and adopting efficient learning habits to stay relevant amid rapid change.

career developmentfoundationslearning efficiency
0 likes · 21 min read
How Programmers Can Take Charge of Their Career: Lessons from 20 Years in Tech