Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Staff System Design Interview Part 1: Social Media at Scale
New
Rating: 4.7 out of 5(2 ratings)
3 students

Staff System Design Interview Part 1: Social Media at Scale

Visual system design interview prep for senior and staff engineers. Work through news feeds, chat, and live comments.
Created byVikram Santhosh
Last updated 11/2026
English
English

What you'll learn

  • Answer a system design interview question in 45 minutes: requirements, scale math, API, data model, design, deep dives, failures and a close
  • Turn stated assumptions into per-second rates, and let the math pick the design, such as fan-out on write or on read
  • Choose a data model and a store with a stated trade-off: what you choose, what you give up, and why that is acceptable
  • Design real-time delivery: persistent connections, pub/sub per stream, fan-out trees, reconnect storms and slow consumers
  • Keep chat messages in order on every device with sequence numbers, watermarks, receipts and presence
  • Serve photos and video at scale: resumable uploads, processing, renditions, edge caching, signed URLs and purges
  • Walk through failure modes as detect, contain and recover, then close with decisions, costs and extensions

Course content

6 sections • 97 lectures • 13h 32m total length
  • Welcome: what this course covers and how it works2:12

Requirements

  • Comfort with backend basics: HTTP APIs, databases and caches
  • Experience building or running a production service helps; no particular programming language is needed

Description

This course contains the use of artificial intelligence.

If you’re preparing for the system design round of a staff engineering interview, you’ll practice drawing news feeds, chat, and live comments, then defending your design when the interviewer changes a constraint.

The same Post button can mean two hundred writes or twenty million. Memorized answers break when the interviewer changes one thing. This course teaches the method instead.

One method, five systems. Each module is one interview question, answered the way a staff candidate answers it in 45 minutes:

  1. requirements, functional and non-functional, with numbers;

  2. the scale math that forces a decision;

  3. the API and the data model;

  4. a high-level design traced end to end;

  5. deep dives on the hard parts;

  6. failure modes;

  7. a close that states decisions, costs and extensions.

The five systems:

  • News feed: fan-out on write or read, large authors, crash-safe delivery, caching and pagination.

  • Post service, search and likes: the inverted index, likes as write amplification, batching, and a shared result cache.

  • Live comments: persistent connections, pub/sub per stream, fan-out trees, the display budget, reconnect storms and slow viewers.

  • Chat: one order per conversation, sequence numbers, per-device watermarks, receipts, presence and group fan-out.

  • Photo feed: resumable uploads, processing and renditions, edge caching, signed media URLs, purges, and a short-video feed with prefetching.

"Under the hood" lectures explain the storage and infrastructure each design leans on. Quizzes and assignments check your reasoning at the point where you need it.

How this course is made. Vikram designs every lesson: the requirements, the numbers, the design decisions and the practice. He reviews and approves every script. AI tools help draft narration text from his outlines and review notes, check calculations, and render the diagrams and captions. The narration uses an AI voice made from Vikram's own voice, with his consent.

13.5 hours of video in 97 lectures.

Who this course is for:

  • Software engineers preparing for senior or staff-level system design interviews
  • Engineers who know the standard answers and want to defend trade-offs when the interviewer changes the requirements
  • Backend engineers who want to reason about feeds, chat, live and media systems at scale