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
Diagram of memory pages being shared and duplicated on write.

Why Copy on Write Improves Memory Efficiency in Linux

Copy‑on‑Write (CoW) lets Linux share pages until they’re modified, dramatically cutting memory footprints for forks, containers, and snapshots.

May 14, 2026 · 9 min · 1836 words · martinuke0
Diagram comparing LSM tree layers with B‑tree nodes.

Why Log-Structured Merge Trees Outperform B-Trees for Write Throughput

Explore how LSM trees boost write performance compared to B‑trees, the mechanics behind their design, and the trade‑offs involved.

May 14, 2026 · 7 min · 1447 words · martinuke0
Diagram of memory pages shared between parent and child after fork.

Why Copy on Write Reduces Memory Pressure in Forks

Copy on Write lets forked processes share memory pages until they modify them, slashing RAM demand and keeping applications responsive.

May 14, 2026 · 7 min · 1486 words · martinuke0
Diagram comparing LSM and B‑Tree write paths

Why LSM Trees Outperform B-Trees for Write‑Intense Workloads

An in‑depth comparison of LSM trees and B‑trees that explains why LSM excels on write‑heavy workloads, backed by real‑world examples and practical takeaways.

May 14, 2026 · 5 min · 1060 words · martinuke0
Feedback