A cache every replica agrees onintermediate
A cache in each process’s memory cannot be cleared by the others, so a shared cache needs a signal that a copy is wrong — and a short, deliberate window in which a stale copy is allowed.
A bundle is repriced and, for ten minutes, the price depends on which pod you ask. Each pod caches in its own memory and nothing tells it to stop. Cache in two levels, and let the event drop the stale copy.
AssumesAsking Catalogue on every orderThe local copy and its BundleRepriced consumer are built there. This stage puts a cache in front of that copy and uses the same event to clear it.
A two-level cache with a short local lifetime, read-through, invalidated by the event after the write, and no cached misses.
Published in full, before you start — every point is one of these and there is nothing else.
A cache in each process’s memory cannot be cleared by the others, so a shared cache needs a signal that a copy is wrong — and a short, deliberate window in which a stale copy is allowed.