A code editor showing a Java cache implementation with architecture diagrams and terminal output.

Build a Google Guava-like Cache From Scratch: A Portfolio Project That Signals Systems Skill

A step-by-step build guide for a from-scratch caching library inspired by Google Guava’s cache. You’ll implement LRU eviction, TTL expiration, concurrent access, and observability — a CV project that signals real distributed-systems engineering skill.

September 17, 2026 · 10 min · 1956 words · martinuke0
Stylized circular ringbuffer with producer and consumer pointers.

Designing Lock-Free Queues: Inside the Linux KFIFO and Ringbuffer Implementations

How the Linux kernel’s KFIFO achieves a wait-free, lock-free FIFO with a single atomic variable. We walk through the ringbuffer math, the memory-ordering subtlety that makes it correct on weakly ordered CPUs, and what you can borrow for your own high-throughput pipelines.

September 6, 2026 · 14 min · 2883 words · martinuke0
Diagram of a Union-Find forest before and after path compression.

How Path Compression Flattens the Union-Find Tree Structure

Path compression dramatically speeds up Union-Find operations by collapsing intermediate nodes during finds, turning deep trees into almost flat structures.

May 18, 2026 · 6 min · 1224 words · martinuke0
Illustration of multiple locks guarding sections of a hash map.

The Hidden Mechanics of Lock Striping in Hash Maps

A deep dive into lock striping, revealing how it reduces contention in concurrent hash maps and how to apply it effectively.

May 18, 2026 · 11 min · 2166 words · martinuke0
Illustration of two hash tables with overlapping keys being shuffled.

Tracing the Limits of Cuckoo Hashing Eviction Chains

We dissect the mechanics of cuckoo hashing, derive worst‑case chain length bounds, and present engineering tricks that prevent long eviction cascades.

May 17, 2026 · 7 min · 1373 words · martinuke0
Feedback