Catalogue / meta-2022-cache-consistency

Meta monitors cache consistency to 10 nines with Polaris and traces only the post-write invalidation race window

Meta, 2022. Cache consistency monitoring and tracing (Polaris) for TAO and Memcache.

Organisation
Meta
Evidence
Reported from production
Source
Cache made consistent

Engineering at Meta, published 2022-06-08

Records

Decision#d1

Check cache consistency externally with Polaris across multi-timescale queues before bypassing the cache

Decision#d2

Trace cache mutations only during the short post-write race window instead of logging all cache fills

Failure#f1

Interleaved two-round cache fill and transient invalidation error left stale metadata cached at the latest version

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.