Diagram of a B-tree node being duplicated for copy‑on‑write.

How Copy-on-Write B-Trees Enable Instant Database Snapshots

Copy‑on‑write B‑trees let databases take point‑in‑time snapshots instantly, without blocking writes. This post explains the mechanics, trade‑offs, and real‑world implementations.

May 13, 2026 · 8 min · 1573 words · martinuke0
Diagram of shared memory pages before and after a write.

Why Copy on Write Bypasses Memory Allocation Bottlenecks

Copy‑on‑write avoids costly memory allocation by sharing data until a write occurs, dramatically improving throughput in many systems.

May 13, 2026 · 7 min · 1475 words · martinuke0
Illustration of a Linux process tree with shared memory pages.

How Copy-on-Write Optimizes Linux Process Creation

Copy‑on‑write lets the kernel clone a process without copying its memory pages, deferring duplication until a write occurs, which dramatically speeds up fork.

May 13, 2026 · 7 min · 1383 words · martinuke0
Illustration of a copy-on-write B-tree with versioned nodes.

Why Copy-on-Write B-Trees Accelerate Database Snapshots

This article explains how copy‑on‑write B‑trees work, why they speed up database snapshots, and what trade‑offs developers should consider.

May 13, 2026 · 9 min · 1742 words · martinuke0
Illustration of a B-Tree node with multiple keys on a storage disk.

Why B-Trees Outperform Binary Search Trees on Disk

B‑trees keep disk reads low and writes efficient, making them the preferred index structure in databases and filesystems.

May 13, 2026 · 6 min · 1264 words · martinuke0
Feedback