Skip to content
Theory · News feed · lesson 6 of 11

Fan-out on write or on read

The key question of this prompt is when to build the home timeline. You can do it at every load: take the latest posts of everyone the reader follows and merge them. Or you can do it at every publish: put the post into all the followers' timelines right away. The interviewer expects you to compare the two with numbers and explain why the best answer combines them.

In this lesson

  • Building on read
  • Fan-out on write
  • Compare one day
  • Where fan-out breaks
  • Publishing does not wait for followers
  • Common mistake
  • Key points