Last active 5 days ago
interview
Interview prep notes
0
0
1
System Design Interview: Designing a Distributed Cache
"Design Memcached/Redis cluster" checks whether you understand partitioning, eviction and the consistency trade-offs of caching.
Requirements
get(key)andset(key, value, ttl)with sub-millisecond latency.- Data set larger than one machine's memory (say 2 TB across the cluster).
- Losing cached data is acceptable; the database is the source of truth.