Patterns 0/12

Lesson 1 of 12

Caching strategies

Choose cache-aside, write-through or write-back, pick an eviction policy, and invalidate without serving stale data forever.

1,678 words · 8 min read Key topic Ultra Premium Useful background: How the web works, Latency numbers

In this lesson

  1. Caches and freshness
  2. Write strategies
  3. Try the strategies
  4. Delete on write
  5. What stays true
  6. Stampedes
  7. Eviction policies
  8. Common mistakes
  9. Related topics and practice

Ultra Premium

Unlock this lesson

Ultra Premium opens the 12 premium lessons in Patterns, along with the rest of WhiteBox's premium lessons and problems.

Not ready yet? Read the free lesson: Backpressure