Architecture Decisions20 min read
Caching Is Not 'Add Redis' — A Layer-by-Layer Tour from CPU to CDN
A senior-engineer walkthrough of the whole cache stack: CPU L1/L2/L3, TLB, OS page cache, DB buffer pool, in-process LRU (Caffeine), distributed cache (Redis/Memcached), HTTP cache + ETags, CDN edge, browser, DNS, reverse proxies, query plan cache.