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