Skip to main content

Topic roadmap

System design

6 lessons, about 15 hours in all, from the basics to advanced. Start with the first, or jump to what you need.

Lessons, easiest first

  1. System design · Intermediate 2 · about 2 hCaching and CDNsDecide what to cache and where, use cache-aside with sensible expiry, keep cached data fresh enough, and serve static files and media from a CDN close to users.
  2. System design · Intermediate 2 · about 3 hHow to approach system designRun a system design discussion in clear steps: pin down requirements, estimate load and storage, sketch the main components, then deepen the parts that matter and name the trade-offs.
  3. System design · Intermediate 2 · about 2 hScaling and load balancingExplain vertical and horizontal scaling, keep app servers stateless so they can scale out, and use load balancers and health checks to spread traffic and survive server failures.
  4. System design · Intermediate 3 · about 3 hDatabases: indexes, replication and shardingChoose between SQL and NoSQL for a workload, speed up queries with indexes, scale reads with replicas, and split data across shards with a sensible shard key.
  5. System design · Intermediate 3 · about 2 hMessage queues and background workMove slow or unreliable work off the request path with message queues and workers, make consumers safe to retry, and choose between a simple queue and an event stream such as Kafka.
  6. System design · Pro 1 · about 3 hDesign walkthrough: a URL shortenerDesign a URL shortener end to end, from requirements and estimates to short-code generation, storage, caching for fast redirects and click analytics, using everything from the system design track.

Books on system design

All recommended books

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.