Writing out loud

System Thinking

Every line of code is a bet against chaos.

Latest

Recent articles

Inside LinkedIn's AED System: How 6,167 Extension Probes Build a Device Dossier

A backend engineer's breakdown of LinkedIn's Active Extension Detection system — the fingerprinting pipeline, the data model, the distributed surveillance architecture, and what it means when a platform weaponizes browser primitives against its own users.

NASA’s Rules for Code That Can’t Fail — Revisited for AI-Generated Systems

Applying NASA's legendary JPL flight software discipline to modern backend infrastructure and the era of AI-generated code.

The Database You Install vs. The Database You Run: SQLite Is Not a Smaller PostgreSQL

A systems-level breakdown of SQLite and PostgreSQL — concurrency models, WAL mechanics, failure modes, and when the conventional wisdom is wrong.

SQL Window Functions in Production: What the Tutorials Don't Tell You

Window functions aren't just a cleaner syntax for analytics. Understanding their execution model, cost profile, and failure modes is what separates a working query from one that takes down your reporting replica.

The Bathtub Principle: Stocks, Flows, and Distributed System Failure

Why distributed systems fail isn't usually a code quality problem. It's a failure to model stocks, flows, feedback loops, and leverage points under real production load.

Go Maps Never Shrink: Diagnosing Heap Retention in Production Services

A production postmortem on Go's map memory model, why deleting keys doesn't reclaim heap, how this compounds in long-running services, and what Rust's HashMap design teaches us about explicit control in backend systems.

Newsletter

The Deep End