Design: a recoverable social feed

The core idea

A home feed brings posts from followed accounts into one ordered list.

Publishing a post and placing it in every follower's list are different operations: the post can be safely stored while feed preparation is still catching up.

In this lesson

  • Start with the page promise
  • From a post to a feed
  • Decide where the assembly work belongs
  • Give each record one job
  • Continue reading without shifting the list
  • Recover the worker without trusting its inbox
  • Keep freshness and eligibility separate
  • Add ranking without changing what a cursor means
  • Run the interrupted feed
  • What to inspect under load

Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.