System Design News Feed: Interview Talk Track

System Design News Feed: Interview Talk Track

A system design news feed interview talk track is a staple because it forces distribution math: who sees a post, when, and at what cost. Candidates commonly practice celebrity vs normal users, fan-out on write vs read, caching, and light ranking. This is a structured script for the whiteboard—not confidential company material.

Clarify before you draw

Talk track:

“I’ll design a home feed for follow graphs with near-real-time delivery for normal users, hybrid fan-out for celebrities, reverse-chrono first, then a ranking hook. Deletes/blocks must disappear quickly from feeds.”

Write assumptions. Let the interviewer tighten scope.

APIs

Pagination: cursor on (ts, postId); discuss why offset pages hurt.

Capacity sketch

Example method:

Talk track:

“Reads dwarf writes. The core design choice is whether we precompute feeds on write or merge on read—and how celebrities break the precompute path.”

Fan-out on write vs read

StrategyIdeaBest for
Fan-out on writeOn post, push postId into followers’ feed caches/listsNormal users, bounded followers
Fan-out on readOn feed read, fetch recent posts from followees and mergeHigh-degree authors / sparse posters
HybridWrite for normal; read-merge for celebritiesReal systems candidates describe

Talk track:

“Default fan-out on write into a per-user timeline store. If follower count exceeds a threshold, skip write fan-out and merge that author’s posts at read time.”

Candidates commonly report that naming the hybrid threshold is stronger than defending a pure approach.

Data model

Storage notes: timelines as Redis lists/streams or wide-row stores; posts in durable DB + blob/CDN for media.

Feed read path

  1. AuthN
  2. Read precomputed timeline page for user
  3. For celebrity followees, pull recent posts and merge-sort by ts
  4. Hydrate post bodies + author cards from cache
  5. Apply filters: blocked authors, deleted posts
  6. Return stubs; client may fetch media separately

Talk track:

“Hydration is cached and separate from timeline pointers so fan-out stores stay small—IDs and timestamps, not full payloads.”

Ranking (keep optional and light)

If interviewer wants ranking:

Caching and invalidation

Failure modes

Celebrity threshold you can defend

Pick a concrete number and invite pushback:

“If follower count exceeds ~10k, I’ll skip write fan-out for that author and merge on read. The threshold is tunable from cost dashboards.”

That sentence shows product/systems judgment without fake precision.

Push notifications vs in-app feed

Do not conflate them. Notifications are a sparse signal path; the feed is a query path. Push can wake the client to refresh; it should not carry full post payloads for everyone.

Consistency after unfollow/block

State the product rule:

Interviewers often care that you named the user-visible behavior.

Soft practice note

Feed interviews reward crisp tradeoff talk. If you want a calm timed loop to rehearse this system design news feed talk track, Luna Interview is built for structured practice—not for rule-breaking during a live interview.

Day-of checklist

Start reverse-chrono and hybrid fan-out; deepen ranking only when invited. That pacing reads as senior more often than a premature ML digression.