Brain-Score 85/100 TECH TechPrep · 1:02

Newsfeed (Twitter / X) | System Design in 60 Seconds #systemdesigninterview #newsfeed #shorts

3-Second Blueprint (English)

  1. Newsfeed systems rely on fan-out, the process of distributing a newly published post to all subscribers of a feed.
  2. Fan-out on write pushes posts to follower caches for fast reads, while fan-out on read computes feeds dynamically at request time.
  3. A hybrid design pushes posts for normal users but pulls posts on read for celebrity accounts to avoid write-cache overload.
Fan-Out on Write (Push)Fan-Out on Read (Pull)Hybrid Fan-Out ModelPrecomputed Feed Cache

3-Sekunden-Fazit (Deutsch)

  1. Newsfeed-Systeme nutzen Fan-out, um neu veröffentlichte Beiträge an alle Abonnenten eines Feeds zu verteilen.
  2. Fan-out-on-Write schreibt Beiträge vorab in Follower-Caches für schnelle Reads, Fan-out-on-Read berechnet Feeds erst bei Abruf.
  3. Ein Hybridmodell nutzt Push für normale Nutzer und Pull bei Prominenten-Accounts, um Schreibspitzen im System zu vermeiden.
Fan-Out on Write (Push)Fan-Out on Read (Pull)Hybride Fan-Out-ArchitekturVorberechneter Feed-Cache

Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.