Articles
Published and maintained writing, ordered by the most recent update.
- Production Troubleshooting: From Alert to Root Cause
A practical Kitex RPC incident investigation, from P1/P2 alert triage through metrics, logs, traces, running code, and Kubernetes experiments on rollouts, autoscaling, draining, and load balancing.
- How to Complete a Software Development Task with an AI Agent
An eight-stage engineering workflow for agent-assisted development, grounded in real issues, code reviews, tests, and releases from SyndiRelay, Remote Browser MCP, and VidOtter. Includes a reusable AGENTS.md.
- What Kind of Life Do I Want?
A reflection on five areas of life—learning, health, close relationships, work and finances, and entertainment and rest—and the kind of life I want them to support.
- Concurrency Programming (12): Finale — Series Summary
A look back at concurrency correctness, shared memory and message passing, and the five-layer view connecting concurrency tools to hardware.
- Concurrency Programming (11): Shared Memory and Message Passing — How They Work Together
Explores how channels and queues synchronize shared state internally, and how shared memory and message passing work together in a task-processing system.
- Concurrency Programming (10): How BlockingQueue and Channels Work — From Runtime to CPU
Examines how Java ArrayBlockingQueue, Go channels, and CPython queue.Queue protect queue state, transfer messages, and coordinate waiting and wakeups.
- Concurrency Programming (9): BlockingQueue and Channels — Atomicity, Visibility, and Ordering
From producer–consumer handoffs to Java BlockingQueue, Go channels, and CPython queue.Queue, this article examines the atomicity and memory-ordering guarantees of message passing.
- Concurrency Programming (8): Read-Write Locks — From Language Rules to the CPU
Uses the same counter and counter + ready examples to trace read-write locks from Java language-level rules through the JDK, HotSpot, and x86-64, explaining Atomicity, Visibility, Ordering, and the boundary with Mutex.
- Concurrency Programming (1.5): The Operating System Layer — Threads, Schedulers, and Runtime Scheduling
Following Java platform and virtual threads, Go G-M-P, and CPython threads from their runtime representations to OS threads and ultimately CPU execution.
- Concurrency Programming (1): Start with the Hardware — From count++ to Atomicity, Visibility, and Ordering
Starting from the von Neumann architecture and instruction execution, this article follows count++ down to the hardware-level problems of atomicity, visibility, and ordering.