Level 2: Data · L2.6 Caching strategies
Where caches live: client, CDN, app, database
Place caches in layers and reason about Redis as a platform.
10 min · Pro
What you take away
- The same value can be cached at six layers, and each one you add removes load from everything behind it.
And 3 more inside the class, in Pro.
How the class is laid out
- The problem
- The simple version
- The layers
- Redis is not only a cache
- Cache-aside
- Hit ratio
- Write strategies
- Invalidation
- Failure modes
- Layers
- Check your understanding