Free 30-minute trial

500+ reviews from engineers

How to Design Twitter Timeline in English

·Updated

Quick Answer

How to design Twitter timeline in English: clarify timeline vs search, estimate tweet and read QPS, then compare fan-out-on-write versus fan-out-on-read with clear tradeoffs.

Diagrams and what to say while drawing

Draw as you speak: requirements → APIs → estimates → boxes → deep dive → bottlenecks. Western panels score the narration as much as the diagram.

Key vocabulary

TermPlain meaningSay it in an interview
TimelineHome feed of tweets“Home timeline is read-heavy.”
Fan-outDistribute a tweet to followers“Fan-out-on-write precomputes timelines.”
TweetShort status object“Tweets are small; fan-out cost is social graph size.”
Search indexFind tweets by keyword“Search is a separate path from timeline.”

ESL English phrases and transitions

Open and clarify

  • “I’ll clarify home timeline versus user profile timeline.”
  • “The hard part is fan-out to millions of followers.”
  • “I’ll compare push and pull timelines with tradeoffs.”

UK/US system design moves

  • “The tradeoff is X versus Y.”
  • “I’ll deep-dive this component next.”
  • “A single point of failure here would be …”

Pair this chapter with Mockly’s System Design interview English hub.

Key English language pitfalls

PitfallSounds likeSay instead
Same strategy for all usersCelebrity meltdownHybrid fan-out.
Mixing search into timeline designScope creepPark search unless asked.
No latency targetVagueState freshness expectations.
SummaryClear tradeoffs are how Western panels hear senior engineers.

Common English mistakes

MistakeWhy it hurtsFix
Only drawing boxesNo tradeoffsSay CPU/network cost of fan-out.
Forgetting retweets/likesIncomplete productMention briefly or defer.
Silent QPS mathWeak signalNarrate numbers.

What the interviewer is testing

For Twitter/X timeline design, UK/US interviewers test structured thinking, scale intuition, and calm spoken English - not accent perfection.

They listen for clarify → estimate → design → tradeoffs → bottlenecks. If those moves are audible, you sound hireable.

How to open in English

First 20 seconds

  • “I’ll clarify home timeline versus user profile timeline.”
  • “The hard part is fan-out to millions of followers.”
  • “I’ll compare push and pull timelines with tradeoffs.”

twitter timeline system design

Use this sequence for twitter timeline system design. Say the step name before you do it.

StepWhat to say
ClarifyPost tweet, follow, home timeline, search in/out of scope.
EstimateTweets/sec, timeline reads/sec, storage growth.
APIspostTweet, getHomeTimeline, followUser.
Fan-out choiceWrite-time push for normal users; pull/hybrid for celebrities.
Scale piecesSharded tweet store, timeline cache, load balancers.

Weak vs strong answers

Weak

Everyone’s tweets go into one big database.

Strong

I’d shard tweets, precompute home timelines for most users, and for accounts with millions of followers I’d switch to fan-out-on-read or a hybrid - here’s the tradeoff…

How to say the key terms

TermSay it
fan-out-on-write“fan-out on write”
celebrity / hot key“hot key problem”

Follow-up questions you will get

Expect these

  • “How do you handle a user who follows 10,000 accounts?”
  • “Where does ranking happen?”

Practice drill

Set a timer for twelve minutes. Design Twitter/X timeline design out loud in English. Record yourself. Check: clarify, estimate, tradeoffs, bottlenecks.

Repeat tomorrow focusing only on the deep-dive section.

Answer frameworks you can reuse

Clarify → APIs → Estimates → Data model → High-level → Deep dive → Bottlenecks.

For every deep dive: options → tradeoffs → recommendation.

Technical Software Interview English knowledge base

← Technical Software Interview English knowledge base - start at How to Walk System Design Interviews in English for the full chapter index and reading order.

Explore every Mockly article on the blog hub.

All chapters in this series

Jump between Technical Software Interview English posts below. Each chapter builds spoken English for the same book - use the KB overview when you want the big picture.

#ChapterSlug
1How to Walk System Design Interviews in Englishsystem-design-interview-seven-steps-in-english
2How to Design Pastebin in English Interviewspastebin-system-design-in-english
3How to Design Instagram in English Interviewsinstagram-system-design-in-english
4How to Design Twitter Timeline in English (you are here)twitter-system-design-in-english
5How to Design Yelp Nearby Search in Englishyelp-nearby-system-design-in-english
6How to Design Uber Dispatch in Englishuber-system-design-in-english
7How to Design Ticketmaster in Englishticketmaster-system-design-in-english
8Long Polling vs WebSockets vs SSE in Englishlong-polling-websockets-sse-in-english

FAQ

Questions

Related. For twitter timeline system design, emphasise tiny posts and extreme follower skew. Say when you would fan-out on write versus fan-out on read, and why celebrity accounts break a naive approach.

Only if asked - keep the first pass on post and timeline. Mention Trends as a future deep dive so you show product awareness without derailing the core English walkthrough.

Define fan-out on write as precomputing timelines for fast reads, and fan-out on read as fetching at request time for sparse writers. Give one example with a celebrity account so the tradeoff is concrete, not abstract vocabulary.

Tweet write QPS, home timeline reads, and storage for short text plus media references. Narrate units and round numbers; panels score structured estimation English more than perfect market data.

More questions? Email us at contact@mocklyenglish.com.

Student success stories

All case studies →