AI Hints
Home›System Design Tutorial
Free course

System Design Tutorial

Learn system design from zero, one small and easy step at a time. Every idea is explained in plain words, then shown with clear diagrams and real examples you can follow.

📚 120 lessons▶ 2:25:54+ of video💻 56 code examples🖼 150 screenshots
The complete System Design course, free on YouTubeWatch on YouTube ↗

Course contents

Every lesson has its own page with the explanation, code you can copy, the real output, screenshots from the video, and a link that jumps straight to that moment in the video.

4. Day One and a Framework

  1. One Server to Start10:35
  2. A Framework for Any Design11:40
  3. Foundations Quiz12:38

5. How the Network Works

  1. DNS Deep Dive13:58
  2. HTTP and HTTPS15:33
  3. TCP vs UDP16:45

6. Designing APIs

  1. REST APIs18:08
  2. Good API Design19:18
  3. Pagination20:20

7. Safe Retries and API Styles

  1. Idempotency21:29
  2. GraphQL and gRPC22:44
  3. Real-Time Updates23:49

8. Gateways and Practice

  1. API Gateways24:59
  2. Practice: Design an API26:06
  3. Networking Quiz27:10

10. Healthy, Stateless Servers

  1. Health Checks31:57
  2. Stateless Servers33:09
  3. Where Sessions Live34:16

11. Closer and Bigger

  1. CDNs35:30
  2. Reverse Proxies36:44
  3. Autoscaling37:55

12. Rate Limiting

  1. Rate Limiting39:10
  2. Rate Limiter Algorithms40:25
  3. Scaling Quiz41:39

13. Database Families

  1. SQL vs NoSQL43:01
  2. Kinds of NoSQL44:20
  3. Indexes45:40

14. Correct and Copied

  1. Transactions and ACID46:54
  2. Replication48:11
  3. Read Replicas and Lag49:17

16. Hot Spots and CAP

  1. Hot Spots54:13
  2. The CAP Theorem55:27
  3. Consistency Models56:38

17. Storing More Kinds of Data

  1. Denormalization57:52
  2. Object Storage59:07
  3. Search Indexes1:00:09

18. Choosing Storage

  1. Choosing a Database1:01:21
  2. Practice: Shoply's Data1:02:33
  3. Databases Quiz1:03:36

19. Caching Basics

  1. Why Caching1:05:21
  2. Cache-Aside1:06:36
  3. Write Strategies1:07:43

20. Keeping Caches Healthy

  1. Eviction and LRU1:08:58
  2. TTL and Invalidation1:10:11
  3. Cache Stampedes1:11:24

21. Redis and Cache Layers

  1. Redis1:12:37
  2. Layers of Caching1:13:58
  3. Caching Quiz1:15:02

22. Async and Queues

  1. Sync vs Async1:16:29
  2. Message Queues1:17:43
  3. Pub/Sub1:18:53

23. Logs and Guarantees

  1. Kafka and Logs1:20:12
  2. Delivery Guarantees1:21:33
  3. Idempotent Consumers1:22:40

24. Robust Messaging

  1. Dead-Letter Queues1:23:51
  2. Backpressure1:25:05
  3. Event-Driven Design1:26:16

25. Batch, Stream and Schedules

  1. Batch vs Stream1:27:32
  2. Scheduled Jobs1:28:48
  3. Messaging Quiz1:30:00

26. Services and Timeouts

  1. Monolith vs Microservices1:31:29
  2. Service Discovery1:32:42
  3. Timeouts1:33:46

27. Resilience Patterns

  1. Retries and Backoff1:35:04
  2. Circuit Breakers1:36:18
  3. Bulkheads1:37:30

28. Surviving Failure

  1. Single Points of Failure1:38:42
  2. Failover1:39:52
  3. Disaster Recovery1:40:57

29. Observability

  1. Monitoring and Metrics1:42:19
  2. Logs and Tracing1:43:27
  3. SLIs, SLOs and SLAs1:44:35

30. IDs and Security

  1. Unique IDs at Scale1:45:53
  2. Security Basics1:47:09
  3. Architecture Quiz1:48:24

32. Shortener Design and More

  1. URL Shortener: The Design1:53:29
  2. Rate Limiter Service1:54:55
  3. Chat App: Requirements1:56:10

33. Case Study: Chat and Feeds

  1. Chat App: Delivery1:57:29
  2. Chat App: Storage and Groups1:58:40
  3. News Feed: Requirements2:00:07

34. Case Study: Feeds and Notifications

  1. News Feed: Fan-Out2:01:22
  2. News Feed: Ranking and Cache2:02:42
  3. Notification System2:03:50

35. Case Study: Video and Crawling

  1. Video Streaming: Upload2:05:09
  2. Video Streaming: Playback2:06:29
  3. Web Crawler2:07:42

36. Case Study: Crawling and Location

  1. Web Crawler at Scale2:08:48
  2. Nearby Search: Geohash2:10:04
  3. Ride Matching2:11:19

37. Case Study: Autocomplete and Key-Value

  1. Search Autocomplete2:12:33
  2. Autocomplete at Scale2:13:45
  3. A Key-Value Store2:14:51

38. Quorums and Patterns

  1. Key-Value Store: Replication2:16:04
  2. Case Study Patterns2:17:38
  3. Case Studies Quiz2:18:47

40. Practice and Next Steps

  1. Practice: Design a Pastebin2:23:30
  2. The Cheat Sheet2:24:52
  3. What to Learn Next2:25:54