Interview practice question
Sizing a cache cluster
System Design · Caching · Experienced
You need to cache 200 million user profiles, average 2 KB each, but only 30 percent are active daily. How big should the cache cluster be?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Hot set: 60M x 2 KB = 120 GB.
- Add 30-50% overhead.
- Replicas double memory.
- Spread across nodes (e.g. 8 x 32 GB).
- Monitor and adjust.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.