Design a cache. We had to clarify all requirements surrounding this . It’s a global cache for a distributed database with 100 billion records and each cache holds key value records so based on that do the sizing , distribution , latencies , read heavy, etc. Discuss all issues like replication, crashing of cache servers, cache warm up , TTL etc proactively.