The problem for a Senior Backend Engineer
- Functional: post photos with captions, follow users, see a ranked feed of followed users' posts, like and comment.
- Non-functional: feed loads fast (<200ms), posts appear within seconds, the system tolerates celebrity-scale fan-out.
- Scale: ~1B users, ~100M posts/day, overwhelmingly read-heavy (feed views >> posts).
- Consistency: likes/comments can be eventually consistent; feed ordering must stay monotonic (no flicker).
Out of scope (covered in detail below)
Stories, direct messages, ads/ranking ML training, explore/discovery, and spam detection — deferred and discussed in the dedicated section.
As a Senior Backend Engineer, the system design round will probe apis, data, and distributed systems. Be prepared to go deep on the areas a Senior Backend Engineer owns and to articulate trade-offs clearly.
Unlock the full guide
Premium members get every DSA, system design, company and role interview guide — plus AI practice, mock interviews, and analytics.
Unlock with Premium