Level 2: Data · L2.6 Caching strategies
Invalidation and TTLs
Design invalidation for a write path and choose TTLs.
12 min · Pro
What you take away
- A TTL bounds how long a value may be wrong; it never notices that the value became wrong.
And 3 more inside the class, in Pro.
How the class is laid out
- The problem
- The simple version
- The race, drawn
- Choosing a TTL, and caching the misses
- Check your understanding