Skip to content

HardScenarioClassic design problems

Design a news feed such as a social timeline.

What a good answer covers

Choose fan-out on write for ordinary users by pushing post ids to followers' feed caches and fan-out on read for celebrities, merge at read time, rank with a score, paginate by cursor and store posts and the graph separately.

More on Classic design problems

Flashcards for this topic