Design a hybrid fan-out timeline and inverted-index search that scales to millions of followers and low-latency reads.
Skip to the solution
HardSystem Design4 min read
How would you design Twitter's timeline and search? (Facebook feed)
110 views
The problem
- timeline
- fanout
- search
- feed
- redis
- ranking
Try it yourself
Sketch your approach before you read the solution. That is what the interview tests.
Stuck? Get a hint.
A short nudge toward the approach. It will not give the answer away.
Solution
The solution is hidden so you can try first
4 min read · 4 sections
Discussion
Other approaches, follow-ups and how it went in real interviews.
Sign in to join the discussion.
No comments yet. Share how you would answer it.
Question 91 of 106 in System design
Keep your momentum going.
Mark this question solved to track your progress, then take the next one while it is fresh.
Up nextHard→
How would you design Amazon's category sales ranking?
Continue