Design a Photo Sharing Feed
Instagram lets people post photos and see the photos of people they follow. Under the hood it has two halves. The write side takes a photo from a phone, stores it safely and makes copies in a few sizes. The read side builds each user's home feed from the accounts they follow and serves it in a fraction of a second, hundreds of thousands of times a second. At Rippling this prompt shows up in high-level design rounds at SDE-2 and senior level, under names like "photo upload service like Instagram", "Instagram feed generation service" or "social network feed". It has come up less often in recent loops than the news aggregator. When it does come up, the questions are consistent: fan-out, the celebrity problem, and the database behind each piece.
RipplingPremium lesson · System design round
The Rippling design, worked end to end.
- The API and data modelSystem design
- The design, drawn out2 diagrams
- 5 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
314 Rippling interview reports · guide updated
Rippling interview guideKnow what Rippling asks before you walk in.
30 coding · 5 system design · 28 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.