Mock Interviewer
Ask Coach
Tap a question to start, or type your own below.
News Feed System Design
Visual Problem Diagram

Scenario
On election night you post an update and expect friends to see it on their home screen within seconds. The painful failure is a home screen 30 minutes behind, because posts are arriving at about 10 times a normal night and each one is copied to every follower before anyone can read.
Clarify this problem here, or open Pathway Coach if you want a prep plan first.
You write a post. People who follow you see it on a home screen ordered by time or by what matters most. You like or comment. You scroll for older posts without jumping back to ones you already passed. You unfollow or block someone and they leave your screen.
You need to explain how a new post reaches followers without making the writer wait for every follower to update. You need to explain what changes when one person has millions of followers. You need to explain how ordering by what matters stays fast. You need to explain what you show if that step is slow. You need to explain how the next page stays stable while new posts keep arriving. You need to explain how a photo or a link preview is added without blocking the post. Ads and push alerts can stay thin.
Constraints
Create a post. Follow people. Open a home screen. Like or comment. Order the screen by time or by what matters most. Ask for the next page.
Most home screens come back in under 300 milliseconds, so the open feels instant. The screen stays available. An order that is a few seconds old is fine. If ordering is slow, still show the posts you already have.
About 1 billion accounts, and 500 million people active in a day. The hot action is opening the home screen. Hundreds of millions of posts are written a day. Reads far outnumber those writes, and the reads dominate.
Stages ahead
Not ready to design yet?
Try the free Coach trial — ask how to prep, what to practice first, or how InterviewCrafted works. Sign in when you want to start this problem.
Log in to start practicing
Preview the problem below. Sign in to start your timed session, save progress, and use the AI coach.
Want full access now? View Pro pricing