Lesson 04.1
Cache-aside / write-through / write-back / write-around
Cache write strategies decide whether the application, cache, or database coordinates a change, which determines write latency, durability, and how stale data is removed.
🍪 The fast copy can be wrong
Ava and Ben are workers using the computer to manage cookie count. The fast copy and the source must agree even if the fast copy stops working.
In this lesson you'll
- 1Watch the fast copy answer a request
- 2Guess where the unsafe gap appears
- 3Change the rule and protect the source of truth