Sweet Codey

SYSTEM DESIGN MASTERCLASS

System Design,
Done Right

Learn to design systems that serve millions of people. Work through requirements, APIs, architecture, and the trade-offs behind each decision with engineers who build them.

★★★★★

4.6+ stars · 30,000+ students across our courses

System design topics: caching, databases, scaling, messaging, search, APIs and reliability.

BUILT FOR THE WORK YOU DO

01

Software engineers

Beginner to senior, with a focus on the decisions mid-level engineers face.

02

AI engineers

Design the services and data systems your AI features depend on.

03

Technical leads

Review architecture and explain the trade-offs to your team.

04

Product managers

Connect product requirements to technical choices.

OUR APPROACH

The 5-Step Interview Framework

Follow one newsfeed design from the first requirement to the final trade-off.

01

Requirements

Start with what people need from a newsfeed: publish a post, follow someone, and see their latest updates. Then agree on the scale and response times.

FunctionalNon-FunctionalConstraintsScope

What users can do

✓Create text, image, and video posts

✓Follow and unfollow people

✓Read a reverse chronological feed

✓Like and comment on posts

What the system must support

✓500 million daily active users

✓99.999% availability target

✓Feed loads in 1 to 2 seconds

✓Updates visible within 1 to 2 seconds

THE PATTERNS BEHIND THE PRODUCTS

One Template. Every Problem.

The same building blocks connect products with very different requirements.

THE DESIGN COLLECTION10 systems
One frameworkEvery design connects

A GROWING COMMUNITY

Learners Across The Globe

More than 30,000 students enrolled across Sweet Codey courses, from their first system design interview to the next step in their career.

REAL STUDENTS. REAL REVIEWS.

Trusted by 10,000+ Developers

★★★★★
This is one of the most well-organized system design courses I've taken. The instructor focuses on the 'why' behind architectural decisions, not just the 'what.' The real-world case studies like designing YouTube, WhatsApp, and URL Shorteners are broken down thoughtfully with clear diagrams and trade-offs. Even with prior experience in backend and cloud systems, I found the explanations refreshing.
MI
MilanSystem Design learner
System Design
★★★★★
The biggest plus for me was the clear, consistent framework used across all designs - it helps you know exactly how much to talk about and how to structure your answer in a 40-minute interview. The videos are sized perfectly to show how you'd use existing tools and present a solid design solution. For system design interviews, coming up with a clear, well-structured design is the main priority.
RE
ReshmaSystem Design learner
System Design
★★★★★
A key strength of the course is that it doesn't just teach how things are built, but also why certain approaches are chosen - and just as importantly, why they are not. This focus on trade-offs cultivates a structured way of thinking. Before this course, I was unfamiliar with many techniques in modern distributed systems. Now I feel equipped with a mental toolkit to approach new scenarios methodically.
DK
DeepkumarSystem Design learner
System Design
★★★★★
The instructors didn't just teach how systems work - they taught how to think like an engineer at scale.
VA
VamsiSystem Design learner
System Design
★★★★☆
I finally understood how to approach problems like designing Twitter, URL shortener, and rate limiter. The real-life scenarios and trade-offs discussed made a big difference for me. It feels like I'm actually ready to face system design rounds now. Highly recommended if you're preparing for interviews at top tech companies.
RA
RakeshSystem Design learner
System Design
★★★★★
I can truly say this is EXACTLY what I was looking for. I spent countless hours on YouTube trying to find resources but nothing was satisfactory or organized. This is a perfect zero-to-one course that teaches design thinking in a way you can remember through standardizations like templates. Amazing job on covering YouTube and WhatsApp and especially the quizzes.
IS
IshSystem Design learner
System Design
★★★★★
The System Design Masterclass changed the way I think about system design. Before, I found the subject boring and confusing, but this course made it interesting and useful. The instructors effectively deconstruct complex concepts and emphasize clear, practical methodologies. The curriculum includes designing real-world systems like Instagram and YouTube using a systematic template.
JI
JitSystem Design learner
System Design
★★★★★
One of the best and most engaging System Design courses I've learned from. The best part is that they follow the same template to approach all HLD problems - this makes every question feel connected with new and specific things added. Waiting for a similar course on LLD too.
DE
DevendraSystem Design learner
System Design
★★★★★
This is an amazing course. I am in middle management in big tech and keep my skills sharp by taking design courses periodically. This is a very good course. I would recommend students go through all appendices before diving into individual cases - they have really good information.
NA
NaveedSystem Design learner
System Design
★★★★★
SD used to be a boring subject and there are hell lot of courses available - all of them just show PPTs and that's how it gets boring. New Gen Engineers made this subject so awesome that I could understand and clear the interviews. Thank you guys.
DP
DeepakSystem Design learner
System Design
★★★★★
Course is detailed with all these designs. I really liked that all the designs followed 1 simple template - functional requirements, non-functional requirements, capacity estimations, API design, HLD, then deep dive. Nobody has ever taught like this. Really loved the course!
RI
RituSystem Design learner
System Design
★★★★★
Pretty awesome. Earlier, I had no idea about system design. Now I not only understand it, but I'm also clear on the concepts. They're doing a great job!
AB
AbdulSystem Design learner
System Design
★★★★★
The course covers everything from fundamental concepts like load balancing, caching, and database sharding to complex distributed systems such as designing YouTube, Netflix, and WhatsApp. Real-world scenarios simulate actual interview questions. If you're preparing for FAANG-level system design interviews, this course helps you build a systematic approach.
RO
RohanSystem Design learner
System Design
★★★★★
Really enjoyed this course - it breaks system design down in a way that actually makes sense. The YouTube and WhatsApp examples were super helpful, and the framework they teach sticks in your head. Thank you.
UJ
UjwalSystem Design learner
System Design
★★★★★
This course has been extremely helpful in highlighting the importance of stepping back to look at the system as a whole before implementing new or updating existing features. Highly recommend!
MZ
MzukisiSystem Design learner
System Design
★★★★★
The framework is a game changer, thanks guys!
DA
DavidSystem Design learner
System Design

YOUR LEARNING PATH

Inside the
masterclass.

19 sections, 242 lectures, and 28 quizzes. Work through complete designs, then revisit the fundamentals in the appendices.

11 hours of
system design.

Video lessons, diagrams, worked examples, and quizzes to check your understanding.

01Introduction3 lessons · 18 min+
  1. ▷Course Introduction3:08
  2. ▷How this course is structured?3:08
  3. ▷Framework for System Design Interviews12:14
02Design Instagram Newsfeed27 lessons · 5 quizzes · 63 min+
  1. ▷Deciding Requirements - Functional Requirements1:12
  2. ▷Deciding Requirements - Non-Functional Requirements2:01
  3. ▷Capacity Estimation - Introduction0:30
  4. ▷Capacity Estimation - Why should you do capacity estimation?4:34
  5. ▷Capacity Estimation - DAU/MAU0:27
  6. ▷Capacity Estimation - Throughput2:45
  7. ?Calculate ThroughputQuiz
  8. ▷Quiz Solution: Calculate Throughput3:08
  9. ▷Capacity Estimation - Storage2:03
  10. ?Calculate StorageQuiz
  11. ▷Quiz Solution: Calculate Storage5:46
  12. ▷Capacity Estimation - Memory0:29
  13. ▷Capacity Estimation - Network Bandwidth2:43
  14. ▷API Design - Create a Text Post2:03
  15. ▷API Design - Create an Image / Video Post2:27
  16. ▷API Design - Like / Comment on a Post1:28
  17. ?API DesignQuiz
  18. ▷API Design - Follow / Unfollow another User1:14
  19. ▷API Design - Read the NewsFeed (aka Timeline)1:20
  20. ▷High Level Design - Follow / Unfollow another User1:44
  21. ▷High Level Design - Create a Text Post2:59
  22. ▷High Level Design - Create a Text Post (Continued)2:40
  23. ▷High Level Design - Create an Image / Video Post3:59
  24. ?Optimizing Media UploadsQuiz
  25. ▷High Level Design - Read the NewsFeed (aka Timeline)1:48
  26. ▷High Level Design - Comment on a Post1:23
  27. ▷High Level Design - Like on a Post1:53
  28. ▷Deep Dive Insights - Database Selection4:48
  29. ▷Deep Dive Insights - Data Modeling4:07
  30. ▷Deep Dive Insights - Pre-Signed URLs1:38
  31. ▷Deep Dive Insights - Media Processing1:31
  32. ?Celebrity AccountsQuiz
03Design Youtube / Netflix16 lessons · 3 quizzes · 38 min+
  1. ▷Deciding Requirements - Functional Requirements0:53
  2. ▷Deciding Requirements - Non-Functional Requirements2:02
  3. ▷Capacity Estimation - DAU / MAU0:16
  4. ▷Capacity Estimation - Throughput1:22
  5. ▷Capacity Estimation - Storage0:52
  6. ▷Capacity Estimation - Memory0:53
  7. ▷Capacity Estimation - Network Bandwidth2:56
  8. ▷API Design - Upload Content5:06
  9. ?PUT vs POSTQuiz
  10. ▷API Design - Stream Content4:11
  11. ?Streaming Vs DownloadingQuiz
  12. ▷High Level Design - Upload Content1:17
  13. ▷High Level Design - Upload Content (Continued)3:36
  14. ▷High Level Design - Content Processor Workflow Engine5:41
  15. ?Time Taking Upload ProcessQuiz
  16. ▷High Level Design - Stream Content2:43
  17. ▷Deep Dive Insights - Database Selection2:28
  18. ▷Deep Dive Insights - Data Modeling1:49
  19. ▷Deep Dive Insights - HLS Encoding2:05
04Design TinyURL24 lessons · 4 quizzes · 39 min+
  1. ▷Introduction - What is a Tiny URL Service?0:40
  2. ▷Introduction - Why do we need a Tiny URL Service?1:01
  3. ▷Deciding Requirements - Functional Requirements1:08
  4. ▷Deciding Requirements - Non Functional Requirements1:15
  5. ?URL RedirectionsQuiz
  6. ▷Capacity Estimation - DAU/MAU0:57
  7. ▷Capacity Estimation - Throughput1:35
  8. ▷Capacity Estimation - Storage1:02
  9. ▷Capacity Estimation - Memory0:47
  10. ▷Capacity Estimation - Network Bandwidth1:47
  11. ▷API Design - Generate a Short URL2:08
  12. ▷API Design - Get Long URL back1:10
  13. ▷High Level Design - Generate Short URL1:36
  14. ▷High Level Design - Problem: Collisions1:17
  15. ▷High Level Design - Approach 1: Random String Generation1:15
  16. ▷High Level Design - Approach 2: Random String Generation using LongURL1:49
  17. ▷High Level Design - Approach 3: Check DB for Collisions2:29
  18. ▷High Level Design - Approach 4: Lets Keep Counters2:23
  19. ▷High Level Design - Approach 4 (Continued): Zookeeper1:09
  20. ▷High Level Design - Approach 4 (Continued): Base 62 Encoding4:31
  21. ?Convert Base 62 to Base 10Quiz
  22. ▷High Level Design - Approach 4 (Continued): Final Design Diagram1:56
  23. ?Problem with Base62Quiz
  24. ▷High Level Design - Get Long URL1:56
  25. ▷Deep Dive Insights - Database Selection1:19
  26. ▷Deep Dive Insights - Data Modeling1:53
  27. ?Predictable Short URLsQuiz
  28. ▷Deep Dive Insights - Redirection from Short URL1:50
05Design Rate Limiter20 lessons · 3 quizzes · 63 min+
  1. ▷Introduction - Analogy1:35
  2. ▷Introduction - What is a Rate Limiter?0:40
  3. ▷Introduction - Why do we need a Rate Limiter?1:10
  4. ▷Deciding Requirements - Functional Requirements1:04
  5. ▷Deciding Requirements - Non-Functional Requirements1:26
  6. ▷Capacity Estimation - DAU / MAU0:53
  7. ▷Capacity Estimation - Throughput0:42
  8. ▷Capacity Estimation - Storage & Memory3:06
  9. ▷Capacity Estimation - Network Bandwidth1:20
  10. ▷High Level Design - Placement of Rate Limiter4:01
  11. ▷High Level Design - Basic High Level Design Flow1:33
  12. ▷High Level Design - Storing Request Counters2:02
  13. ▷High Level Design - Storing Rate Limiter Rules2:36
  14. ▷Deep Dive Insights - Rate limiting Algorithms0:35
  15. ▷Deep Dive Insights - Token Bucket Algorithm8:23
  16. ?Quiz - Token Bucket AlgorithmQuiz
  17. ▷Deep Dive Insights - Leaky Bucket Algorithm7:10
  18. ?Quiz - Leaky Bucket AlgorithmQuiz
  19. ▷Deep Dive Insights - Fixed Window Counter Algorithm4:53
  20. ?Quiz - Fixed Window Counter AlgorithmQuiz
  21. ▷Deep Dive Insights - Sliding Window Log Algorithm8:50
  22. ▷Deep Dive Insights - Sliding Window Counter Algorithm7:31
  23. ▷Deep Dive Insights - Handling Race Condition3:13
06Design Whatsapp22 lessons · 7 quizzes · 58 min+
  1. ▷Deciding Requirements - Functional Requirements1:29
  2. ▷Deciding Requirements - Non-Functional Requirements0:57
  3. ▷Capacity Estimation - DAU / MAU0:41
  4. ▷Capacity Estimation - Throughput3:01
  5. ?Estimate Throughput for "Last Seen" featureQuiz
  6. ▷Capacity Estimation - Storage1:34
  7. ▷Capacity Estimation - Memory0:42
  8. ▷Capacity Estimation - Network Bandwidth1:05
  9. ▷API Design - 1:1 Messaging4:43
  10. ?QuizSockets 1Quiz
  11. ▷API Design - Message Status1:33
  12. ▷API Design - Online Status2:53
  13. ▷API Design - Group Messages1:53
  14. ?QuizSockets 2Quiz
  15. ▷High Level Design - How is Websocket Connection established?4:50
  16. ?Quiz: WebSocket Handlers and MappingsQuiz
  17. ▷High Level Design - 1:1 Messaging1:47
  18. ▷High Level Design - 1:1 Messaging - Offline Client3:27
  19. ▷High Level Design - 1:1 Messaging - Final Design1:35
  20. ?Quiz: Connectivity Challenge - What happens to your messages?Quiz
  21. ▷High Level Design - 1:1 Messaging (Image, Video, Document)4:05
  22. ▷High Level Design - Message Status5:31
  23. ▷High Level Design - Online Status2:46
  24. ▷High Level Design - Group Messages3:05
  25. ?Quiz: Group Chat ChallengeQuiz
  26. ▷Deep Dive Insights - Database Selection3:40
  27. ▷Deep Dive Insights - Data Modeling4:16
  28. ?Quiz: The Life of a MessageQuiz
  29. ▷Deep Dive Insights - End to End Encryption2:11
07Design Search Systems17 lessons · 3 quizzes · 57 min+
  1. ▷Deciding Requirements - Functional Requirements2:44
  2. ▷Deciding Requirements - Non-Functional Requirements4:46
  3. ▷Capacity Estimation - DAU / MAU2:11
  4. ▷Capacity Estimation - Throughput2:26
  5. ▷Capacity Estimation - Storage2:43
  6. ▷Capacity Estimation - Memory2:19
  7. ▷Capacity Estimation - Network Bandwidth3:39
  8. ▷API Design - Search3:03
  9. ?Quiz: Search URL EncodingQuiz
  10. ▷High Level Design - Search (Suboptimal)2:48
  11. ▷High Level Design - Search (Indexing)2:50
  12. ?Quiz: Revisit Capacity Estimation (Index DB)Quiz
  13. ▷High Level Design - How to Support Fuzzy Search?3:21
  14. ▷High Level Design - Search (Ranking)4:18
  15. ▷High Level Design - Search (Final Design)4:14
  16. ▷Deep Dive Insights - Database Selection5:42
  17. ▷Deep Dive Insights - Data Modeling3:32
  18. ▷Deep Dive Insights - Query Correction Service5:01
  19. ?Quiz: Query Correction & Levenshtein DistanceQuiz
  20. ▷Deep Dive Insights - Elastic Search1:52

LEARN WITH US

Your instructors.

Learn with the engineers behind Sweet Codey’s system design courses.

Rohit Jain

Rohit Jain

Software engineer & technical educator

EXPERIENCE
AmazonSquareCitrix

Has conducted hundreds of technical interviews. Makes the reasoning behind system design clear and practical.

LinkedIn profile ↗
Suresh Gandhi

Suresh Gandhi

Software engineer & technical educator

EXPERIENCE
OracleMicrosoftAmazon

Builds distributed systems and teaches the concepts, trade-offs, and patterns behind scalable software.

LinkedIn profile ↗
Shubham Chandak

Shubham Chandak

Software engineer at Bloomberg · Co-creator, Sweet Codey

EXPERIENCE
Bloomberg

Shubham teaches system design at Sweet Codey. He is a software engineer at Bloomberg and an IIT Kharagpur alumnus who also studied at the University of Florida.

LinkedIn profile ↗

YOUR NEXT INTERVIEW

Walk in with
a clear approach.

Learn to break down an unfamiliar problem, explain your choices, and build a design you can defend.

Do I need system design experience?+

No. Start with the foundations, then work through real-world system designs. Basic programming and software development knowledge will help.

How is the course structured?+

We use the same five steps throughout: requirements, capacity estimation, API design, high-level design, and deep dive.

Where will I access the course?+

The course is hosted on Sweet Codey’s learning platform. Online enrollment will be available soon.