System Design › Chapter 6

High-Level Design

Twenty end-to-end system design walkthroughs - URL shortener, news feed, chat, payments, web crawler, distributed cache, ticket booking, job scheduler and more - with requirements, estimates, APIs, data models, diagrams, trade-offs and failure modes.

Each answer follows the same shape: requirements, back-of-envelope estimates, API, data model, architecture diagram, deep dives, trade-offs and failure modes. Numbers are round-figure assumptions to show the method, not facts.

HLD

Q1 basic
Q2 basic
Q3 intermediate
Q4 advanced
Q5 advanced
Q6 intermediate
Q7 advanced
Q8 advanced
Q9 advanced
Q10 intermediate
Q11 advanced
Q12 intermediate
Q13 advanced
Q14 intermediate
Q15 advanced
Q16 advanced
Q17 intermediate
Q18 intermediate
Q19 intermediate
Q20 advanced