How Long Should Botie Trust the Saved Reading?

A cache can answer quickly while showing an old reading. Follow its expiry boundary and the load a cold cache sends back to the source.

14 sections · 4 questions · 1 coding challenge

1 / 14

A Helpful Copy Can Become a Dependency

BOTIE

Amazon’s published caching experience describes a recurring operational problem: a service becomes accustomed to the reduced source load of a warm cache, then a cold or unavailable cache exposes the source to many more requests. Caching changes the operating conditions of the service.

Redis makes expiry an explicit property of a key. A timeout gives a copy a limited lifetime; the application still chooses a lifetime appropriate to its data. Our workshop isolates the decision at that boundary. It cannot establish whether a source can absorb refresh traffic.

Sources for this history