A personal engineering blog

Notes from building
software and systems.

I write about the things I’m learning and building across software engineering, distributed systems, data, and AI. Practical ideas, honest trade-offs, and the occasional lesson learned the hard way.

A little about this blog

Recent writing

Latest notes

All posts

Where Did My Memory Go? A Practical Look at the JVM Heap and Garbage Collection

A latency incident traced to garbage collection, and everything you need to understand it: how the JVM decides what is garbage, why the heap is split into young and old generations, how to read a GC log, how to find a memory leak with a heap dump, how G1, ZGC and the other collectors differ, and which flags are actually worth touching.

↗

Java Concurrency Without the Headaches

How Java concurrency works, from starting a thread and fixing a race condition to synchronized, volatile, atomics, concurrent collections, executors and CompletableFuture, down to the memory model, lock internals, false sharing, deadlocks, thread pools and virtual threads, explained from the basics up to what senior engineers need to know.

↗

Java I/O and NIO, Demystified

How Java I/O and NIO work, from reading a file and choosing a charset to decorators, Path and Files, buffers, channels, memory-mapped files, selectors, virtual threads and durable writes, explained from the basics up to what senior engineers need to know.

↗

Follow a thread

Browse by topic

All topics