Software architecture interview · Software Engineer
News feed / home timeline (Facebook or Twitter-like)
- Level
- Senior
- Length
- About 55 minutes
- Format
- A diagram canvas you draw on as you talk
- Fan-out
- Caching
- Pagination
- Read-heavy scaling
The problem
Design the home feed for a social network like Facebook or Twitter. People post, follow other people, and open the app to see recent posts from the people they follow, newest first, with paging as they scroll.
The rest of the problem, the interviewer's follow-ups and your report come with the practice interview.
How the interview runs
- Introductions and framing5 min
- Requirements clarification and scoping7 min
- Estimation, core entities and API6 min
- High-level design12 min
- Deep dives15 min
- Wrap-up5 min
- Their questions5 min
Our library of software architecture problems
URL shortener (Bitly-like)Mid-level
Distributed API rate limiterMid-level
News feed / home timeline (Facebook or Twitter-like) · This problemSenior
Event ticketing under flash-sale load (Ticketmaster-like)Senior