Learning path · 39 lessons · 2 topics
🏗️ System Design interview preparation
Building blocks and complete designs, from a URL shortener to AI systems, plus LLD.
System design rounds test how you break down a vague problem, estimate scale, choose building blocks and explain trade-offs out loud. Each design here follows the same interview structure: requirements, estimates, API, data model, high-level design, deep dives and trade-offs.
Start with the basics (caching, load balancing, databases, queues), then work through the classic designs, and practise low-level design for object-oriented rounds.
What you will learn
- Requirements, capacity estimates and APIs
- Caching, sharding, replication, queues and CDNs
- Classic designs: feeds, chat, payments, ride sharing, AI assistants
- Object-oriented low-level design
Topics
Roadmap: beginner to advanced
-
1
Beginner Beginner stage
Foundations: the concepts every interviewer expects you to explain clearly.
System Design
-
2
Intermediate Intermediate stage
Working knowledge: how things behave in real projects and the trade-offs you make.
System Design
- Design a URL shortener like TinyURL or bit.ly.
- Design a distributed rate limiter for an API platform.
- Design a unique ID generator for a distributed system (like Twitter Snowflake).
- Design a notification system that sends push, SMS and email.
- Design search autocomplete (typeahead) for a search box.
- Design a proximity service like Yelp or Google "nearby places".
- Design a real-time gaming leaderboard.
Design & LLD
-
3
Advanced Advanced stage
Senior depth: internals, scale, failure modes and design decisions.
System Design
- Design a distributed cache like Redis Cluster or Memcached at scale.
- Design a distributed key-value store like Amazon Dynamo or Cassandra.
- Design a chat application like WhatsApp or Slack.
- Design a news feed or timeline like Twitter/X or Instagram.
- Design a web crawler that crawls billions of pages.
- Design a video streaming platform like YouTube or Netflix.
- Design a file storage and sync service like Dropbox or Google Drive.
- Design a ride-hailing service like Uber or Ola.
- Design a food delivery platform like Swiggy, Zomato or DoorDash.
- Design the checkout and order system for an e-commerce site like Amazon or Flipkart.
- Design a payment system or gateway like Stripe or Razorpay.
- Design a digital wallet or banking ledger that transfers money between accounts.
- Design a ticket booking system like BookMyShow or Ticketmaster.
- Design a stock exchange or order matching engine.
- Design a distributed message queue like Kafka.
- Design a distributed job scheduler (cron at scale).
- Design a metrics monitoring and alerting system like Prometheus or Datadog.
- Design an ad click aggregation system (real-time event counting).
- Design product search for an e-commerce site.
- Design a collaborative document editor like Google Docs.
- Design an authentication and single sign-on (SSO) service like Auth0 or Okta.
- Design a distributed lock service (like Chubby, or locks on Redis/ZooKeeper).
- Design a flash sale system (for example 10,000 phones sold at noon to millions of users).
- AI: Design an AI chat assistant like ChatGPT (serving an LLM to millions of users).
- AI: Design a RAG assistant that answers questions from a company's documents with citations.
- AI: Design a recommendation system for an e-commerce or streaming platform.
- AI: Design a real-time fraud detection system for payments using machine learning.
Design & LLD