Skip to content
TeachTrails

Free course · 13 guides · famous interview questions

System design, the way interviews test it.

Learn high-level design from zero: one simple framework for any question, the building blocks of every large system, then 12 famous interview questions (URL shortener, WhatsApp, YouTube, Uber, BookMyShow and more) solved step by step with live demos.

  • Starts from zero: no prior design experience
  • One framework (READS) for every question
  • Famous questions from top companies
  • A live demo in every lesson
  • Code in Python, Java and C++ where it matters
  • Free: 2 lessons open, enroll free for all

System Design for Beginners

Free
13
guides
2 hr 43 min
total time
13
quizzes
  1. Part 1System Design Interview Basics
  2. Part 2Design a URL Shortener
  3. Part 3Design a Rate Limiter
  4. Part 4Design a Distributed Cache
  5. Part 5Design a Notification System
  6. Part 6Design a News Feed
+ 7 more parts: Design WhatsApp, Design Search Autocomplete, Design a Web Crawler, Design YouTube or Netflix, Design Google Drive or Dropbox, Design Uber, Design BookMyShow

Why it works

Built so it actually sticks

A framework, not a script

READS (Requirements, Estimates, API, Design, Scale) gives every answer the same calm structure, so you never freeze.

Learn by playing

Watch a system grow from 10 users to 100 million, turn IDs into short links, drain a token bucket, follow a message's ticks.

Real interview questions

Each lesson is a question candidates report from companies like Google, Amazon, Meta and Microsoft, with the follow-ups they ask.

Made to remember

Every lesson ends with a PATH memory card: a picture, a short anchor sentence, a worked trace and flashcards.

Famous questions

What top companies ask

The design questions candidates most often report from these companies' interviews. Treat it as a guide to what's common, not a guarantee. Green ones are already in this course.

The roadmap

Follow the trail, one part at a time

Each part builds on the one before. Your progress is saved in this browser, so you can pick up where you left off.

0 of 13 parts completed

Start the course
  1. 1
    Part 1·13 minFree previewStart here

    System Design Interview Basics

    System design for beginners: a 5-step interview framework, back-of-envelope estimates, and the building blocks (load balancer, cache, CDN, queue, sharding).

  2. 2
    Part 2·13 minFree preview

    Design a URL Shortener

    Design a URL shortener like TinyURL or bit.ly step by step: requirements, estimates, base62 short codes, ID generation, caching, 301 vs 302, and scaling.

  3. 3
    Part 3·12 min Enroll to unlock

    Design a Rate Limiter

    Design a rate limiter for a system design interview: token bucket, leaky bucket, fixed and sliding windows, Redis for distributed limits, and HTTP 429.

  4. 4
    Part 4·12 min Enroll to unlock

    Design a Distributed Cache

    Design a distributed cache like Redis: cache-aside vs write-through, LRU eviction, consistent hashing, replication, hot keys and cache stampedes, step by step.

  5. 5
    Part 5·12 min Enroll to unlock

    Design a Notification System

    Design a notification system for push, SMS and email: user preferences, queues per channel, retries with backoff, deduplication, priorities and rate limits.

  6. 6
    Part 6·13 min Enroll to unlock

    Design a News Feed

    Design a news feed like Instagram or Twitter: fan-out on write vs read, the celebrity problem, feed caches, ranking and cursor pagination, with a live demo.

  7. 7
    Part 7·14 min Enroll to unlock

    Design WhatsApp

    Design a chat app like WhatsApp: WebSockets, message flow with sent, delivered and read ticks, offline delivery, group chats, storage and message IDs.

  8. 8
    Part 8·12 min Enroll to unlock

    Design Search Autocomplete

    Design search autocomplete like Google's typeahead: a trie with top suggestions at each node, the data pipeline, caching and sharding, with live code.

  9. 9
    Part 9·12 min Enroll to unlock

    Design a Web Crawler

    Design a web crawler like Googlebot: URL frontier, politeness and robots.txt, BFS, duplicate detection with Bloom filters, and scaling to billions of pages.

  10. 10
    Part 10·13 min Enroll to unlock

    Design YouTube or Netflix

    Design YouTube or Netflix: video upload, transcoding into many resolutions, adaptive bitrate streaming with HLS, CDNs, metadata and view counts, step by step.

  11. 11
    Part 11·12 min Enroll to unlock

    Design Google Drive or Dropbox

    Design Google Drive or Dropbox: splitting files into chunks, uploading only changes, deduplication, syncing devices, conflicts, versions and sharing.

  12. 12
    Part 12·13 min Enroll to unlock

    Design Uber

    Design Uber: driver location updates, geohash and quadtree geospatial indexes, matching riders to nearby drivers, trip states, surge pricing and live tracking.

  13. 13
    Part 13·12 min Enroll to unlock

    Design BookMyShow

    Design BookMyShow or Ticketmaster: seat holds that prevent double booking, locks and transactions, payments, flash-sale waiting rooms and consistency.

Who it's for

Made for you if…

You're preparing for placements or switches

Get a clear way to approach HLD rounds, from the first clarifying question to the scaling deep dive.

You know DSA but not “big systems”

Connect what you know (hashing, queues, trees) to load balancers, caches, shards and message queues.

You build projects and want them to scale

Understand why real apps use caches, queues and replicas, and when you actually need them.

FAQ

Questions students ask

Is system design asked in fresher interviews?

Lightly, at many companies. Freshers are mostly tested on DSA, but basic design questions (what is a load balancer, why cache, SQL vs NoSQL) and simple designs like a URL shortener do come up, and they're common from around 2 years of experience. Learning the basics early also makes your projects and internship work stand out.

In what order should I study system design?

Follow the roadmap. Part 1 teaches the READS framework and building blocks. Then come the designs, each reusing earlier ideas: URL shortener (IDs, caching), rate limiter (counters), distributed cache (consistent hashing), notifications (queues, retries), news feed (fan-out), WhatsApp (real-time push), autocomplete (tries), web crawler (BFS, Bloom filters), YouTube (big media, CDNs), Google Drive (chunking, sync), Uber (geospatial search) and BookMyShow (strict consistency).

How long does this system design course take?

The 13 guides take about 2 hours 43 minutes to read, plus time for the demos, memory cards and quizzes. A comfortable plan is one lesson a day: about two weeks for the whole course.

Is this system design course free?

Yes, completely free. The first two lessons are open to everyone. To read every part, sign in with Google, GitHub or email and enroll, which is also free and syncs your progress across devices.

Do I need to know DSA before system design?

It helps but isn't required. Hashing (for sharding and caches) and queues (for message queues) are the most useful; the lessons link to the matching DSA guides when they come up.

Start with Part 1: the READS framework

Learn the five steps that work for every design question, in about 13 minutes. Your progress is saved automatically.

Get new system design questions by email as they're added

Free. No spam. Unsubscribe any time. See our privacy policy.