Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

News Feed Design

Design a social news feed, choosing fan-out on write, on read or a hybrid, and keep timelines fast for accounts with huge or tiny followings.

Advanced1 roadmap

3 objectives 5 steps about 105 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Compare fan-out on write, fan-out on read and hybrid strategies using follower distribution and read/write rates.
  • Design timeline storage and caching, including the celebrity problem and cursor pagination.
  • Add ranking and media to the feed without breaking latency targets, and describe the degraded modes.

Lesson plan

5 steps, about 105 min · 4 of 4 lessons available so far

  1. Scoping the feed and estimating fan-out Worked example · 20 min
  2. Push, pull and hybrid timelines Concept · 25 min
  3. Timeline caches, celebrities and pagination Worked example · 25 min
  4. Ranking, media and graceful degradation Concept · 20 min
  5. Feed design check Knowledge check · 6 questions

Practise it

Simulate fan-out cost for push, pull and hybrid strategies on a synthetic power-law follower graph, then write a feed design doc that picks a celebrity threshold from your measured numbers.

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.