Memory Hierarchy & Caches
Latency numbers, cache mechanics, locality, coherence and false sharing — why memory layout beats Big-O surprisingly often.
- 1✓
Describe the memory hierarchy and the latency numbers every senior engineer should carry in their head.
senior🎬 animated - 2✓
How do CPU caches actually work — lines, sets, associativity, eviction and write policies?
staff - 3✓
What does cache-friendly code look like in practice — and how much does it actually matter on the JVM?
staff - 4✓
Cache coherence and false sharing: what does MESI do, and why can two threads slow each other down without sharing any data?
staff - 5✓
What is NUMA, and when does it start affecting your services and databases?
architect