Diagram of many requests converging on a single overloaded service.

Mastering the Thundering Herd Problem: Mitigations, Caching Strategies, and Production-Ready Patterns

This post walks engineers through the root causes of the thundering herd problem and shows concrete, production‑ready patterns—especially with Kafka and Redis—to keep latency low and resources stable.

May 26, 2026 · 7 min · 1297 words · martinuke0
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 layered diagram of CPU registers, caches, DRAM, and SSD illustrating the memory hierarchy.

Why the Memory Hierarchy Dictates Effective Access Time

A deep dive into why the structure of the memory hierarchy determines the real‑world latency of data accesses, illustrated with calculations and practical advice.

May 17, 2026 · 7 min · 1468 words · martinuke0
Diagram of a CPU with multiple memory layers: registers, L1/L2 caches, DRAM, SSD.

What Memory Layers Cost in Effective Access Time

A deep dive into the cost of memory layers, showing how caches, RAM, and storage affect overall latency and how to model them accurately.

May 16, 2026 · 9 min · 1737 words · martinuke0
Diagram of a B‑Tree node perfectly aligned with CPU cache lines.

Reclaiming Performance via Cache‑Aware B‑Tree Alignment

A deep dive into cache‑aware B‑Tree alignment, covering theory, practical implementation, and real‑world impact on database and filesystem performance.

May 15, 2026 · 10 min · 2052 words · martinuke0
Feedback