System Design · Interview breakdowns
System design interviews, worked end to end
Requirements, the numbers, the design, then the deep dives.
Each breakdown walks one classic interview problem the way a strong candidate walks it, and names the bar separately for intern through principal, so you can tell which parts you are expected to reach for. Use the experiments and quiz to check your reasoning. Where a lab is available, you can also build the design and test it.
The breakdowns, in curriculum order
Design a URL Shortener: Interview Guide
Walk the URL shortener interview end to end: requirements, capacity, short-code generation, the read path and caching, then build it on a live canvas.
Design a Distributed Rate Limiter
Walk the rate limiter interview end to end: requirements, the algorithm choice, the read-modify-write race, a shared counter store and hot keys.
Design a Flash Sale System
Walk the flash sale interview end to end: five hundred units, two million buyers, one count that must never go below zero, and expiring holds.
Design a Collaborative Editor (Google Docs)
Google Docs system design, step by step: operational transformation through one server, CRDTs, what Saved means, failover without lost edits, snapshots.
Design a CDN (Content Delivery Network)
CDN system design, step by step: anycast and a failing PoP, hashing inside a PoP, tiers and an origin shield, purges that reach every PoP, cache poisoning.
Design a Coding Platform (LeetCode)
LeetCode and online judge system design, step by step: sandboxing untrusted code, the contest rush, fair time limits, judge failures and live standings.
Design a Distributed Message Queue (Kafka)
Distributed message queue system design, step by step: partitions and keys, in-sync replicas, idempotent producers, consumer offsets and rebalancing.
Design a Post Search System (Facebook)
Post search system design, step by step: an inverted index without Elasticsearch, AND and OR, newest or most liked, sharding, hot searches, privacy.
Design a Payment System (Stripe)
Payment system design, step by step: idempotency keys, lost replies, events out of order, nightly capture, a double-entry ledger and reconciliation.
Design a Metrics Monitoring System (Datadog)
Metrics monitoring system design, step by step: pull vs push, compress samples, cap label cardinality, roll up 90 days, and alert when data goes missing.
Design an Ad Click Aggregator (Google Ads)
Ad click aggregator system design, step by step: count each click once, keep a halftime ad from stalling dashboards, and bill from a recount. Try it live.
Design a Top K System (Spotify, YouTube)
Top K system design, step by step: count billions of plays, key counts by song so no winner goes missing, and move hour, day and month charts. Try it live.
Design a Notification System
How to design a notification system for push, email and SMS: send each once, keep sign-in codes fast during a sale, obey opt-outs. Try it live.
Design a Chat System (WhatsApp, Messenger)
WhatsApp system design, step by step: send each message once, find the recipient’s server, catch up offline phones and fan out groups. Try it live.
Design a Web Crawler: System Design Guide
Web crawler system design, step by step: a polite queue per site, 30 billion URLs deduplicated, crawl traps, crash recovery and revisits, with live labs.
Design Cloud File Storage (Dropbox, Drive)
Dropbox and Google Drive system design, step by step: resumable chunked uploads, delta sync, a cursor that never skips a change, and conflict copies.
Design a Ride-Hailing Service (Uber, Lyft)
Uber system design, step by step: take 200,000 driver pings a second, find nearby drivers by cell, and never give one driver to two riders. Try it live.
Design a Distributed Job Scheduler (Cron)
Distributed job scheduler system design, like cron: find due jobs fast, fence stale workers, stop repeated work and recover missed runs, with experiments.
Ticket Booking System Design (Ticketmaster)
Design a ticket booking system like Ticketmaster: seat holds that expire, no double booking, a virtual waiting room and payments that arrive late.
News Feed System Design: Twitter, Facebook
Design a news feed like Twitter or Facebook: fan-out on write vs read, the celebrity problem, pagination and privacy, with experiments you can run.
Design a Video Streaming Service (YouTube)
Design YouTube for a system design interview: resumable uploads, parallel transcoding, adaptive bitrate and CDN delivery, with experiments you can run.
By GOAT Engineer. System Design · Privacy Policy · Contact.