Interview practice question
Simple news feed for a small app
System Design · Design: Social and Messaging · Beginner
Your startup's social app has 100,000 users. How would you build the news feed initially?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Fan-out on read with SQL is fine.
- Query posts from followees ordered by time.
- Index on (user_id, created_at).
- Cache feeds briefly.
- Plan migration to push later.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.