Archives
All the articles I've archived.
2026 3
June 2
-
Singleflight in go
How to protect your db in case of a cache stampede
-
Building Idempotent Async Job Processing
A practical design for idempotent async job processing with queues, persistence, retries, and exactly-once downstream effects.
February 1
-
Notes on Go: Graceful Shutdown
A quick walkthrough of graceful shutdown in Go apps, including signal handling, request draining, and resource cleanup.
2025 2
November 2
-
Notes on Building a Database #2: Exploring B+ tree
An exploration of B+ tree structure, range scans, page alignment, and basic operations as used in database indexes.
-
Notes on Building a Database #1: B+trees Vs LSM trees and SS Tables
Notes on why databases need indexes and how B+ trees, LSM trees, and SSTables shape storage engine tradeoffs.