Illustration of two threads exchanging data atomically.

Solving Data Races with Lock‑Free Atomic Compare‑and‑Swap

A deep dive into lock‑free programming using atomic compare‑and‑swap, covering theory, implementation patterns, and real‑world best practices.

May 14, 2026 · 8 min · 1669 words · martinuke0
Short description of the cover image subject.

Why Copy-on-Write Improves Memory Efficiency in High Concurrency Systems

Copy‑on‑write lets multiple threads share the same memory until a write occurs, dramatically cutting duplication and boosting throughput in concurrent systems.

May 14, 2026 · 5 min · 1013 words · martinuke0
Diagram of a B‑tree node being split with copy‑on‑write semantics.

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

This article explains how copy‑on‑write (COW) B‑trees work, why they improve concurrency, and what trade‑offs they introduce for modern database engines.

May 14, 2026 · 9 min · 1712 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 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
Feedback