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 blogRecent writing
Latest notes
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.
The Java Streams API: From First Pipeline to Spliterators and Parallel Execution
How the Java Streams API works, from filter, map and collect to laziness, collectors, primitive streams, the Sink chain, spliterators, parallel streams and gatherers, explained from the basics up to what senior engineers need to know.
Follow a thread
Browse by topic
Software engineering
Patterns for thoughtful, maintainable software.
↗ 02 / CONNECTDistributed systems
How services communicate, scale, and recover.
↗ 03 / ORGANIZEData engineering
Reliable pipelines and useful data platforms.
↗ 04 / EXPLOREAI engineering
Practical notes on building with AI systems.
↗