
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:
requirements, functional and non-functional, with numbers;
the scale math that forces a decision;
the API and the data model;
a high-level design traced end to end;
deep dives on the hard parts;
failure modes;
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.