Diagram of jemalloc's arena and thread cache interaction.

How jemalloc Balances Arenas Against Thread Caches

A deep dive into jemalloc’s arena‑vs‑thread‑cache design, its runtime balancing algorithm, and practical tuning tips for developers.

May 18, 2026 · 8 min · 1560 words · martinuke0
A stylized lock with a reader and a writer silhouette.

When Reader-Writer Locks Leave Your Writers Starving

Reader‑writer locks promise high concurrency for reads but can silently starve writers. This post explains why, how to spot it, and practical fixes.

May 18, 2026 · 7 min · 1406 words · martinuke0
A stylized diagram of a database query plan with mismatched arrows.

Why Query Planners Fail at Cardinality Estimation

A deep dive into the reasons query planners stumble on cardinality estimation, from outdated statistics to optimizer assumptions, and how to mitigate the impact.

May 18, 2026 · 6 min · 1263 words · martinuke0
Illustration of multiple CPU cores with shared cache lines.

How the MESI Protocol Resolves Stale Cache States

A deep dive into the MESI protocol, showing how it prevents stale cache states through precise state transitions and real‑world examples.

May 18, 2026 · 8 min · 1606 words · martinuke0
Diagram comparing contiguous blocks with larger extents.

Where Extents Outperform Traditional Block Allocation Strategies

A deep dive into extents versus classic block allocation, showing why modern filesystems favor extents for speed and scalability.

May 18, 2026 · 7 min · 1444 words · martinuke0
Feedback