My writing.

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

Articles.

7–12 of 148 articles
dns, networking, system-design, distributed-systems, backend

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.

17 views 2 likes 2 shares
java, concurrency, atomic, multithreading, juc

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.

10 views 1 like 1 share
java, concurrency, collections, multithreading, juc

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.

16 views 1 like 2 shares
react, performance, javascript, frontend, react-compiler

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.

5 views 1 like 1 share
java, concurrency, reentrantlock, multithreading, juc

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.

4 views 1 like 1 share
b-tree, data-structures, databases, storage-engines, java

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.

13 views 1 like 2 shares