AI Hints
Home›System Design Tutorial›Practice and Next Steps
System Design · Lesson 119 of 120

The Cheat Sheet

Everything on one page.

⏱ 2 min read▶ Video at 2:24:52🎓 Free
Watch this lesson in the System Design courseWatch on YouTube ↗Full System Design course

Here's the whole course, condensed into one page. Take a screenshot, and use it to revise.

The Cheat Sheet
From the video: The Cheat Sheet
  • The whole course
  • One page
  • Screenshot it

Problem and solution

When a server is overloaded, add servers behind a load balancer. When the database is slow for reads, add indexes, caches, and read replicas. When writes are too many, shard. When work is slow, make it async with a queue. When users are far away, use a CDN. And when things fail, add redundancy, timeouts, retries, and circuit breakers.

ProblemReach for
Server overloadedload balancer + more servers
Slow readsindex, cache, read replicas
Too many writessharding
Slow workqueue + workers
Far-away usersCDN
Failuresredundancy, timeouts, breakers

Numbers to remember

And a few numbers to keep in your head. A day is about a hundred thousand seconds. Memory is about a thousand times faster than an SSD. A cross world round trip is about a hundred and fifty milliseconds. And three nines allows about nine hours of downtime a year.

keyvalue
1 day≈ 100,000 s
Memory vs SSD~1000× faster
Across the world~150 ms
99.9%~9 hours down a year

Summary

Problems map to standard solutions, and a few numbers guide your estimates. That's system design on one page. Finally, what to learn next.

Key takeaways
  • Problem → pattern
  • Rough numbers
  • Revise often
Next up: What to Learn Next — keep going