Loading…
Replicas copy the whole database and answer any query; a cache stores selected results in memory.
An asynchronous copy of the primary database that serves read queries.
An in-memory key-value store that serves hot reads in under a millisecond.
Often both: Common at scale: cache in front, replicas behind it for the misses.