Playbooks
What do I do, and what does each option cost?
- 1
Size a cache
Before buying cache capacity: measure reuse, find out whether the cache must grow with the data, size to just past a knee, check each tier pays, and check the percentile you promised.
Design - 2
Choose what to cache
Something is slow and a cache could help: cache file blocks, metadata, final results, a materialized view, overlapping fragments, or the absence of a key? Two checks and five questions lead to one of six choices.
Choose - 3
Keep a cache honest
A cache sits in front of data that changes: decide how writes reach it, how stale an entry may get, and how to stop expiry and restarts from flooding the store behind it.
Design