walrus
RustAn embeddable write-ahead log with a small, auditable API. Built to be read in an afternoon and trusted for years.
Personal log · Systems & storage
Backend engineer writing about distributed systems, storage engines, and the unglamorous work that keeps software predictable at scale. Long-form notes, mostly for my future self.
A look at where latency actually goes in a Raft deployment: not the leader election everyone worries about, but fsync tails, batching heuristics, and the read path you forgot to linearize.
Write amplification is a budget, not a constant. Notes on level sizing, tombstone density, and how to make background compaction observable enough that you can tune it with evidence.
When a request touches fifty services, the median is a comforting fiction. A short tour of hedged requests, queueing effects, and why retries without budgets become outages.
Reflections on ten thousand lines of code that nobody had to debug at 3 a.m. Why explicitness beats cleverness, and how to write reviews that make the boring path the easy path.
Buffered I/O is a contract with fine print. Walking through dirty-page writeback, direct I/O trade-offs, and the surprising ways kernel defaults shape your database's tail behavior.
Retries turn every network call into a distributed transaction in disguise. Practical patterns for deduplication windows, outbox tables, and surviving the client that never stops retrying.
An embeddable write-ahead log with a small, auditable API. Built to be read in an afternoon and trusted for years.
Load-generation harness for reproducing tail-latency pathologies. Ships with reproducible scenarios, not just charts.
A teaching implementation of a log-structured merge tree, complete with a visualizer for compaction behavior.
Postmortem templates and a CLI that turns timelines into reviewable documents before the details fade.
Re-reading Kleppmann on replication, then a pile of papers on deterministic simulation testing.
A small log-structured store in Rust, mostly to understand compaction scheduling from the inside.
How to make correctness properties executable, so that reviewers read invariants instead of anecdotes.