Illustration of a circular buffer with arrows indicating lock‑free data flow.

Implementing Lockless Ring Buffers for High Throughput Rust Applications

A deep dive into lock‑less ring buffers in Rust, from theory to production‑ready code, with performance numbers and debugging tips.

May 15, 2026 · 10 min · 1988 words · martinuke0
Illustration of a circular buffer with atomic pointers.

The Mechanics of Thread Safety in Lockless Circular Buffers

A deep dive into lockless circular buffer design, showing how atomic primitives, memory fences, and careful indexing keep multiple producers and consumers safe without locks.

May 15, 2026 · 10 min · 1918 words · martinuke0
Illustration of a binary heap with atomic arrows indicating lock‑free operations.

Implementing Lock-Free Priority Queues Using Compare and Swap

A deep dive into lock‑free priority queues, explaining the compare‑and‑swap technique, data‑structure choices, correctness proofs, and real‑world benchmarks.

May 15, 2026 · 10 min · 2000 words · martinuke0
Illustration of a concurrent queue with colored hazard pointers.

How Lock‑Free Queues Handle Memory Reclamation via Hazard Pointers

A deep dive into hazard pointers for lock‑free queues, showing why they matter, how they work, and when to use them over alternative reclamation schemes.

May 15, 2026 · 8 min · 1699 words · martinuke0
Illustration of Go runtime with garbage collector threads.

Efficient Garbage Collection for Concurrent Go Programs

A deep dive into Go’s garbage collector, focusing on concurrency, performance tuning, and practical patterns for production services.

May 15, 2026 · 8 min · 1548 words · martinuke0
Feedback