My writing.
Java internals, framework quirks, and the occasional Linux command. Explanations and examples for the next time you’re figuring something out.
How DNS Works - Resolution, Record Types, Caching, and Security Explained
A detailed guide to the Domain Name System covering the namespace hierarchy, step-by-step resolution, record types, caching and TTLs, the wire protocol, DNSSEC and encrypted DNS, and how DNS is used in system design.
Atomic Classes in Java Explained - CAS, Memory Semantics, VarHandle and Adders
A practical guide to java.util.concurrent.atomic covering CAS, memory semantics, VarHandle, ABA, field updaters, LongAdder, and when locks or volatile are a better fit.
Concurrent vs Synchronized Collections in Java Explained - Wrappers, ConcurrentHashMap and Queues
A practical comparison of synchronized wrappers, legacy Vector and Hashtable, and java.util.concurrent collections, covering internals, iteration, and how to choose.
React Performance Optimization Explained - Rendering, Memoization, Bundles and Core Web Vitals
A practical guide to making React apps faster covering render and commit, measuring tools, memoization and the React Compiler, code splitting, data fetching, and server rendering.
ReentrantLock in Java Explained - Fairness, Conditions, tryLock, AQS Internals and Alternatives
A practical guide to ReentrantLock covering reentrancy, fairness, Condition objects, AQS internals, virtual threads, and when to choose synchronized, read-write locks, StampedLock, or other tools instead.
B-Trees Explained - Splits, Merges, B+ Trees and How Database Indexes Work
A detailed guide to B-trees and B+ trees covering pages, search, splits, borrowing and merging, database storage layouts, tree height, LSM trade-offs, and a Java implementation.