Tag
Concurrency
3 diagram-led guides on Concurrency by Abhishek Goyal.
-
Guide
Java Concurrency & Multithreading
End-to-end, internals-first: JVM memory architecture, CPU cache visibility, all six thread states, synchronized and volatile, wait/notify, thread pools, the full java.util.concurrent toolkit, ThreadLocal, CompletableFuture, the Java Memory Model, common bugs, and a full interview Q&A.
-
Deep diveNew
Why wait() and notify() Must Be Called Inside synchronized
The lost-wakeup race that forces the rule, what the monitor’s entry set and wait set really do, why wait() must live in a while loop, notify vs notifyAll — and how Lock/Condition inherits the same contract.
-
Guide
Concurrency Control in Distributed Systems
Why local locks stop working the moment you scale past one instance, and how optimistic and pessimistic concurrency control pick up the slack — with isolation levels, lock types, and working Spring/JPA code.