Why use caching in system design?
Caching moves repeated reads closer to the user or application to reduce latency and backend load.
- Fast for repeated reads
- Staleness is the main tradeoff
- Choose eviction and invalidation strategy
Why use caching in system design?