Syllabus
Interview walkthrough: design a thread-safe LRU, start with LinkedHashMap, then harden locks, striping, and Caffeine-style reads.
The interview
The prompt lands. Clarify scope before you draw nodes.
Design
HashMap + doubly linked list, then the idiomatic LinkedHashMap answer.
Concurrency
Correctness baseline, traps, JMM, compound ops, and explicit locks.
Scale
Striping for throughput and Caffeine-style amortized recency.
Wrap-up
Say the answers out loud like an interview.