- Building an MCP Server for Anki
๐ 16 min read
I gave Claude access to my Anki collection. Writing tools for a reader that is a model.
Read more โ - Caching Strategies: Architecture, Failure Modes, and Initialization
๐ 20 min read
A practical guide to runtime caching patterns, cold-start initialization strategies, and solving distributed failure modes like thundering herds and replica lag.
Read more โ - Another PR to OSS merged ๐ฅน - CockroachDB
๐ 10 min read
My second contribution to open source - a fix for a bug in CockroachDB's PL/pgSQL UDF support.
Read more โ - MVCC in MongoDB with WiredTiger
๐ 14 min read
How WiredTiger implements MVCC under MongoDB - timestamps, snapshot isolation, the history store, write conflicts, and how it compares to PostgreSQL.
Read more โ - Adding Native Retry Logic to gofalcon
๐ 9 min read
How I added built-in exponential backoff retry support to the CrowdStrike Falcon Go SDK, so callers no longer have to roll their own.
Read more โ - How MVCC Works and Why Databases Use It
๐ 12 min read
Multi-version concurrency control lets readers and writers proceed without blocking each other. A breakdown of the core mechanics, and how PostgreSQL, CockroachDB, and MySQL InnoDB implement them.
Read more โ - Write-Ahead Logging and Database Durability
๐ 10 min read
Write-ahead logging is the mechanism behind crash safety in almost every serious storage system. This post explains how it works from first principles, and how PostgreSQL, SQLite, RocksDB, and etcd each implement the same core idea.
Read more โ - Pagination: cursor or offset?
๐ 6 min read
When to use cursor-based vs offset-based pagination.
Read more โ