Phase 3 · Caching & CDN
Cache patterns, cache failure modes and global edge delivery.
- Caching Patterns, Eviction & Redis/Memcached: Why and where to cache, read/write patterns, eviction policies (with an LRU implementation), Redis data structures, persistence and Cluster, Memcached, and multi-level caches.
- Cache Invalidation, Consistency & Failure Modes: Invalidation strategies and races, stampede, penetration, avalanche, hot keys, warming, Redis down or full, stale local caches, fast-changing data, and debugging a hit-ratio drop.
- CDN, Edge Caching & Global Architecture: Push vs pull CDNs, HTTP caching headers, origin shield, purge vs versioned URLs, GeoDNS vs Anycast, multi-region routing, data residency and edge compute.