Interview practice question
Caching a social feed
System Design · Caching · Experienced
How would you design caching for a social media home feed with 100 million daily users?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Precomputed feed IDs per user in cache.
- Post objects cached separately.
- Hydrate feed from post cache.
- Celebrity posts merged at read time.
- Only cache active users' feeds.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.