Posts
All the articles I've posted.
-
System Design - How TiDB's DELETE Executor Removes Rows
Follow one single-table DELETE through TiDB's DeleteExec: how child rows become handles, how the table layer removes row and index keys, and why deprecated batch-delete settings change transaction boundaries.
-
LeetCode 117 Populating Next Right Pointers in Each Node II
Solutions for LeetCode 117, medium, tags: tree, breadth-first search, linked list, binary tree.
-
System Design - How MQTT Routes Messages Through a Broker
Follow an IoT message from publisher to subscriber, then compare MQTT QoS, retained messages, and persistent sessions.
-
System Design - How TiKV Applies Committed Raft Entries in Source Code
Trace a committed TiKV Raft entry through the Peer, ApplyFsm, ApplyDelegate, and KV engine, including the apply index and worker settings.
-
LeetCode 1306 Jump Game III
Solutions for LeetCode 1306, medium: breadth-first and iterative depth-first search on an implicit graph of array indices.
-
System Design - How Java Virtual Threads Work
How Java virtual threads let blocking request code handle more concurrent I/O by parking on a small set of carrier threads, and where CPU work, pinning, and resource limits still matter.