Series
Building A Storage Engine
LSM trees, WAL records, memtables, SSTables, Bloom filters, compaction, and the road toward a serious database core.
Jun 20, 2026 / 9 min read
I Built LSM Trees for a Storage Engine
The first notes from building a Rust storage engine: WAL records, skip-list memtables, immutable memtables, SSTable files, block indexes, tombstones, and Bloom filters.
Jun 10, 2026 / 8 min read
System Design Chapter 1 Notes: How Web Systems Start Scaling
Notes from the first chapter of System Design Interview, covering load balancers, replication, caching, CDNs, sharding, denormalization, sticky sessions, and operational automation.
Jun 6, 2026 / 6 min read
Building a Redis Clone in Rust, Then Making It 49x Faster With Profiling
Benchmarking a Redis-compatible Rust server against Redis, profiling the slow paths, and using indexes to remove pathological scans.
May 20, 2026 / 1 min read
Redis Internals: The Event Loop as a Systems Primitive
A concise walkthrough of how Redis uses a single-threaded event loop, multiplexed I/O, and careful data structure choices to stay predictable under load.