Social & Media: Chat/WhatsApp, News Feed (Twitter/Instagram) & YouTube/Netflix

Real-time messaging with ordering and receipts, feeds that survive celebrities, and video pipelines that transcode, stream and count at planetary scale.

About 160 minutes · 15 exam questions · 9 interview questions · 2 code labs

What you will learn

  1. Chat / WhatsApp (1/5): requirements, estimation & protocol choice
  2. Chat (2/5): data model, message IDs & per-conversation ordering
  3. Chat (3/5): architecture — gateways, session registry, routing & offline push
  4. Chat (4/5): receipts, offline sync, multi-device & group fan-out
  5. Chat (5/5): scaling, failure modes & wrap-up
  6. News Feed (1/3): requirements, estimation, API & data model
  7. News Feed (2/3): fan-out on write vs read, and the hybrid for celebrities
  8. News Feed (3/3): read path, ranking, caching layers & wrap-up
  9. YouTube / Netflix (1/4): requirements, estimation & the cost model
  10. YouTube / Netflix (2/4): upload & the transcoding DAG
  11. YouTube / Netflix (3/4): adaptive bitrate streaming, CDN & Netflix Open Connect
  12. YouTube / Netflix (4/4): view counts, metadata, recommendations touchpoint & wrap-up
  13. Bottlenecks, trade-offs & wrap-up across social & media designs
  14. Level bar: what mid, senior and staff answers include
  15. Deep-dive ladders: bad → good → great

Previous: Location Systems: Proximity Service, Nearby Friends, Google Maps & Uber · Next: Infrastructure Systems: Distributed Message Queue, Metrics Monitoring, Ad Click Aggregation, Job Scheduler & Logging Platform