Whenever you're ready, walk me through how you'd approach this.
Design a cache mechanism to store and retrieve data efficiently.
Clarify the scope of the cache, including read/write patterns, freshness requirements, eviction policy, and consistency guarantees. Then propose how you would size, shard, invalidate, monitor, and recover the cache under peak traffic and partial failures.