RocksDB LSM-tree compaction diagram showing levels and data flow between SST files

Architecting High-Performance Storage: Inside RocksDB's LSM-Tree Compaction Strategy

Explore how RocksDB’s LSM-tree compaction strategy manages write-heavy workloads by buffering mutations in memory and flushing sorted runs to disk, then merging them through configurable compaction paths with distinct amplification tradeoffs.

September 22, 2026 · 10 min · 2054 words · martinuke0
Illustration of a B-Tree node being duplicated for a snapshot.

Implementing Copy-on-Write B-Trees: Engineering Durable Database Snapshots and Point-in-Time Recovery Architecture

This post walks through the engineering of copy‑on‑write B‑trees for fast, crash‑consistent snapshots and PITR, highlighting architecture, implementation details, and real‑world trade‑offs.

May 24, 2026 · 9 min · 1757 words · martinuke0
Feedback