🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Design a News Feed: all 10 questions

Quiz: Design a News Feed · Question 1 of 10

What does "fan-out on write" mean for a news feed?

What does "fan-out on write" mean for a news feed?

  1. A.Building the feed only when the user opens the app
  2. B.Inserting each new post into all followers' precomputed feeds when it is created
  3. C.Writing every post to many databases for backup
  4. D.Sending posts to a CDN
Answer & explanation

Correct answer: Inserting each new post into all followers' precomputed feeds when it is created

The work is done at post time, so reading a feed is a quick lookup.

Can you get the rest right without peeking?

Take the timed Quiz: Design a News Feed quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →