Illustration of a B-Tree branching with copy-on-write overlays.

Why Copy-on-Write B-Trees Improve Database Concurrency Control

Copy-on-Write B‑Trees provide immutable snapshots for readers while writers work on new nodes, enabling high concurrency with minimal blocking.

May 13, 2026 · 7 min · 1364 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
Diagram comparing LSM tree and B‑tree structures.

LSM Trees vs B-Trees: Solving the Write Amplification Tradeoff in Distributed Databases

A deep dive into LSM trees versus B‑trees, focusing on write amplification, read/write trade‑offs, and their impact on modern distributed database design.

May 13, 2026 · 6 min · 1079 words · martinuke0

Implementing Lock-Free Concurrent B-Trees for High-Throughput Vector Indexing in Distributed Systems

Introduction Vector indexing—whether for similarity search in recommendation engines, nearest‑neighbor queries in machine‑learning pipelines, or high‑dimensional feature retrieval in bioinformatics—has become a core workload in modern distributed systems. Traditional indexing structures (KD‑trees, LSH tables, inverted files) either suffer from poor cache locality or become bottlenecks when many threads try to update or query simultaneously. Enter the lock‑free concurrent B‑tree. By marrying the proven I/O‑optimal layout of B‑trees with the non‑blocking guarantees of lock‑free algorithms, we can achieve: ...

May 12, 2026 · 15 min · 3087 words · martinuke0
Feedback