My writing.

Java internals, framework quirks, and the occasional Linux command. Explanations and examples for the next time you’re figuring something out.

Articles.

25–30 of 148 articles
caching, system-design, performance, backend, distributed-systems

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.

45 views 4 likes 5 shares
kafka, distributed-systems, system-design, java, backend

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.

1083 views 7 likes 229 shares
databases, indexes, b-tree, performance, sql

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.

28 views 1 like 3 shares
git, version-control, git-commands, developer-tools, github

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.

9 views 2 likes 1 share
database

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.

37 views 1 like 4 shares
java

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.

37 views 1 like 1 share