My writing.
Java internals, framework quirks, and the occasional Linux command. Explanations and examples for the next time you’re figuring something out.
Caching Explained - Types of Cache, Caching Strategies, and When to Use Each
A detailed guide to caching, covering the different layers of cache, read and write strategies, eviction policies, invalidation, and common pitfalls, with a use case for each.
Apache Kafka Explained - Architecture, Internals, and Real-World Use Cases
A detailed guide to Apache Kafka covering topics, partitions, brokers, producers, consumers, replication, delivery guarantees, KRaft, and the ecosystem, with code examples and practical tips.
How Database Indexes Work and When to Use Each Type
A detailed guide to database indexes, covering how B-trees, hash, bitmap, GIN, GiST, BRIN, and other index types work under the hood and which queries each one is built for.
The Most Commonly Used Git Commands Every Developer Should Know
A practical guide to everyday Git commands, explaining when to use each one with real examples, from setting up a repository to branching, merging, rebasing, and undoing mistakes.
How Multi-Version Concurrency Control (MVCC) Works in Databases
A deep dive into MVCC, covering snapshots, version visibility rules, isolation levels, garbage collection, and how PostgreSQL, MySQL InnoDB, and Oracle implement it.
Shenandoah GC - The Quiet Revolution in Low-Latency Java
A deep dive into how Shenandoah achieves near-constant low pause times through concurrent marking, evacuation, and reference updating.