Mike Mwita


Performance

Learning the Ropes: Running a Million Goroutines on One Core

I believed one CPU core could run a million goroutines, so I set out to confirm it: how the Go scheduler makes it possible, what it costs when measured, and what stops you before the CPU does.

go-bloomfilter

A Bloom filter implementation in Go focused on ultra-fast membership testing with minimal memory usage and configurable accuracy.

The Thundering Herd Problem

Cache stampede is when your own users become the attack. The fix is not more cache — it is treating the cache miss path like a critical section.

SQL Performance Explained

Notes and highlights from reading SQL Performance Explained by Markus Winand.

SQL Doesn't Run in the Order You Write It

The order you write a SQL query and the order the database executes it are completely different — and that gap explains most SQL mistakes.

Reading Flame Graphs in Go

How to turn a slow Go function into a picture you can act on — benchmarks, pprof, and how to actually read a flame graph, using one real O(n) lookup as the worked example.

Flow Control in Distributed Systems: Understanding Backpressure

An in-depth exploration of backpressure in distributed systems — why it arises, how it impacts stability and throughput, and the strategies engineers use to handle it effectively.

Escape Analysis in Go

A deep dive into escape analysis in Go — how the compiler decides whether variables live on the stack or heap, and why it matters for performance.

Caching Is Easy. Invalidation Is Where Systems Falter.

Everyone knows how to add a cache. Almost no one has a written-down invalidation strategy before shipping.