System Design Roadmap: What to Learn and in What Order

2026-12-02来源 dev.toEnglish
System Design Roadmap: What to Learn and in What Order

System Design Roadmap: What to Learn and in What Order

Most system design roadmaps are really just a pile of topics — CAP theorem, sharding, consistent hashing, message queues — listed as if you could learn them in any order. You cannot. Sharding only makes sense once you know how a single database stores and indexes data; consistent hashing only makes sense once you know why you shard at all; CAP only bites once you have more than one copy of your data. Learn the pile in the wrong order and every topic feels like memorising trivia, because the thing each one is a solution to has not been introduced yet.

This roadmap fixes the order. It is not a day-by-day calendar — it is the dependency graph: five stages where each one is the floor the next one stands on. Start at fundamentals, because every later decision is a trade-off between things you first have to understand in isolation. Move up only when the stage below feels like a tool you reach for, not a definition you recite. The sequence is the whole point — the topics are standard, but learning them in dependency order is what turns a reading list into the ability to design under questioning.

Title card for a system design roadmap showing what to learn and in what order, with a five-stage ladder from fundamentals up through data storage, scaling, distributed systems, and patterns and the interview, on a dark citrus-and-lavender background.

The roadmap at a glance

The roadmap climbs in five stages. Each stage answers a question the stage below cannot, and opens a question the stage above will. Read the "why it comes next" column as the load-bearing part — it is the reason the order is not arbitrary.

Stage Focus Why it comes next
1. Fundamentals Networking/HTTP, how databases work, OS + concurrency You cannot reason about any trade-off until you know what a request, a write and a thread actually do
2. Data storage & access SQL vs NoSQL, indexing, caching, CDN Once one machine works, the first real decisions are how data is stored and how reads get fast
3. Scaling & availability Load balancing, replication, sharding, stateless services When one machine is not enough, you add more — which forces copies and splits of your data
4. Distributed systems & consistency CAP, consistency models, consensus, consistent hashing, queues The moment data lives on many nodes, correctness under failure becomes the hard problem
5. Patterns & the interview Answer framework, design walkthroughs, estimation, out-loud practice Only once the pieces exist can you assemble them into designs and defend them live

The rule the whole roadmap enforces: do not jump to stage four's "CAP and consensus" before stage three has given you a reason to have multiple nodes, and do not jump to stage five's "design X" walkthroughs before stages one to four have given you the components those designs are built from. Each stage earns the next.

A five-stage system design roadmap drawn as a dependency ladder, from fundamentals at the bottom through data storage and access, scaling and availability, and distributed systems and consistency, up to patterns and the interview at the top, with an arrow showing that each stage is the floor the next one stands on and must be learned before it.

Stage 1 — Fundamentals

Before any "design a system" question makes sense, you need a mental model of what a system is made of: how a request travels, how a single database stores and retrieves a row, and how one machine does many things at once. These are not interview topics in themselves — they are the vocabulary every later stage is written in.

Topic What to learn Why it comes before the next
Networking + HTTP DNS, TCP/TLS, the request/response cycle, status codes, client–server model Every component above talks over this; you cannot place a load balancer or CDN without it
How databases work Tables and rows, a B-tree index, transactions, what a primary node does Storage choices in stage 2 are meaningless until you know what a single DB already does well
OS + concurrency basics Processes vs threads, blocking vs non-blocking, locks, what a "stateful" process holds Stateless services and queueing in later stages are just concurrency ideas scaled to machines

By the end of stage one you should be able to trace a single user action from the browser to one database and back, naming each hop. That single-machine picture is the thing every later stage scales, copies, or splits — so it has to be solid first.

Stage 2 — Data storage and access

Now that one machine works, the first real design decisions appear, and they are almost all about data: where it lives, how it is shaped, and how reads get fast. This stage comes before scaling because you scale a data model — get the storage and access patterns wrong and no amount of extra machines saves you.

Topic What to learn Why it comes before the next
SQL vs NoSQL Relational vs document/key-value/wide-column, when each fits the access pattern The data model decides how it can be split later; sharding in stage 3 depends on it
Indexing Why an index speeds reads, what it costs on writes, composite and covering indexes You must know how one DB gets fast before adding caches or replicas to go faster
Caching Cache-aside vs write-through, TTL and invalidation, where to put the cache Caching is the cheapest way to absorb read load before you reach for replication
CDN Edge caching of static and cacheable content, why latency drops at the edge The same caching idea pushed to the network edge; natural bridge into scaling

The test for stage two: given a feature, you can say which store it belongs in and how its reads get fast, and justify both. Caching and CDNs also plant the idea you will lean on constantly above — serve a copy instead of recomputing — which is exactly what scaling formalises next.

A topic cluster diagram linking data storage and access to scaling and availability, showing SQL versus NoSQL, indexing, caching and CDN on one side feeding into load balancing, replication, sharding and stateless services on the other, with arrows indicating that the data model and caching decisions made first constrain how the system can later be scaled.

Stage 3 — Scaling and availability

One machine eventually runs out of CPU, memory, or disk — so you add more. This stage is where you learn to spread load across machines and survive one dying. It has to follow storage, because scaling is mostly about making copies and splits of the data you modelled in stage two.

Topic What to learn Why it comes before the next
Stateless services Keep no session state on the box so any node can serve any request The precondition for horizontal scale and clean load balancing
Load balancing Round-robin vs least-connections, health checks, removing single points of failure Distributes traffic across the stateless nodes you just made
Replication Leader–follower copies for read scale and failover, replication lag Copies for availability are what create the consistency problem in stage 4
Sharding Splitting data across nodes by a shard key, hot-shard risk Splitting data is what forces distributed coordination and rebalancing next

By the end of stage three you can take a single-node design and scale it out: stateless app tier behind a load balancer, read replicas, data sharded by a sensible key. But every one of those moves — replicas, shards — means your data now lives in more than one place at once, and that is precisely the problem the next stage exists to handle.

Stage 4 — Distributed systems and consistency

The moment data lives on many nodes, a new class of problem appears: what is true when nodes disagree, messages are lost, or a network splits. This is the hardest stage, and it deliberately comes after scaling — because every concept here is a direct answer to a problem replication and sharding just created.

Topic What to learn Why it comes before the next
CAP theorem Under a partition you choose consistency or availability, not both Frames every trade-off below; you cannot pick a consistency model without it
Consistency models Strong vs eventual vs causal, matching the model to the feature Decides how replicas and queues behave; a prerequisite for consensus and idempotency
Consensus Leader election and agreement (Raft/Paxos intuition), split-brain How a distributed system picks one truth; underpins safe replication
Consistent hashing Add/remove a node and move ~1/N of keys, not all of them The standard way to shard and rebalance without a full reshuffle
Queues + idempotency Decouple with pub/sub, buffer bursts, keys so retries don't double-apply The glue for async designs you will assemble in stage 5

Stage four is where "it works on my laptop" becomes "it stays correct when a data centre drops offline". You do not need to implement Raft, but you must be able to say, for a given feature, which consistency model it needs and why — because stage five's designs are nothing but these trade-offs wired together.

A topic cluster diagram showing distributed-systems concepts — CAP, consistency models, consensus, consistent hashing and message queues — combining with interview patterns such as the answer framework and estimation, with arrows feeding into a final node labelled the live design interview, indicating that the concepts and patterns assemble into designs you defend out loud.

Stage 5 — Patterns and the interview

Only now, with the components in hand, do you learn to assemble them — and to perform the assembly live. This stage comes last because a design walkthrough assumes everything in stages one to four; reading one earlier just means re-reading it later. The order inside this stage matters too: framework first, then walkthroughs, then estimation, then out-loud reps.

Topic What to learn Why it comes in this order
The answer framework Clarify → estimate → API → high-level design → deep dive → wrap A repeatable way to run any round so you never freeze on "where do I start?"
Design walkthroughs Work through URL shortener, rate limiter, chat, news feed, payment Watch the stage 1–4 components combine into real architectures and recurring patterns
Estimation Back-of-the-envelope QPS, storage and bandwidth math The numbers that justify each component choice inside a walkthrough
Out-loud practice Defend a design live against follow-ups, fix your weakest dimension The skill the interview actually grades — and the slowest one to build

Everything below this stage is recognition; this stage is production. The grading in a real round happens on four dimensions you can only train by speaking — problem solving, communication, technical execution and time management — so the final move on the roadmap is not another topic, it is repetition under pressure.

System design
HLD · Design a URL shortener · 45 min
Assemble the stages into a live design and read the debrief

Practise on Zynter →

How to use this roadmap

Treat the five stages as gates, not a checklist. The temptation is to skip ahead to the exciting parts — CAP, consensus, "design Netflix" — but a topic learned before its prerequisite is a topic you will relearn. Move up only when the stage below feels like a reflex: you reach for an index without thinking, you know why a replica creates a consistency question, you can size a design in your head.

Each stage also has a full explainer on the Zynter blog if a topic needs more depth — the concept posts map onto stages two to four, and the design walkthroughs map onto stage five. Use them to go deep on a single node of the roadmap without losing the order, then come back and keep climbing. The roadmap is the spine; the individual posts are the muscle.

The last thing to internalise: the roadmap does not end at "I understand it." It ends at "I can design it out loud, on the clock, while someone pushes back." Stages one to four are intake; stage five is output — and output is the only part the interview can see.

System design
HLD · Design a news feed · 60 min
Do a timed out-loud design and fix your weakest dimension

Practise on Zynter →

Frequently asked questions

What order should I learn system design topics in?

Learn them in dependency order, not by difficulty or by whichever article you found first. The sequence that works is fundamentals (networking, how databases work, concurrency), then data storage and access (SQL vs NoSQL, indexing, caching, CDN), then scaling and availability (stateless services, load balancing, replication, sharding), then distributed systems and consistency (CAP, consistency models, consensus, consistent hashing, queues), and finally patterns and the interview (the answer framework, design walkthroughs, estimation, out-loud practice). Each stage is the floor the next one stands on — sharding only makes sense after you understand a single database, and CAP only bites once you have replicas — so learning them out of order makes every topic feel like disconnected trivia.

How long does it take to learn system design?

It depends on your baseline, but think in stages, not days. A working engineer who already knows the fundamentals in stage one can often move through the roadmap in a couple of focused months; someone newer to distributed systems should expect longer and should resist skipping ahead. The roadmap is deliberately a dependency order rather than a fixed calendar, because people arrive with different stages already solid. What does not change is the shape: do not start the "design X" walkthroughs until the components they assume are in place, and do not treat the roadmap as finished until you can design out loud under questioning.

Do I need to know how to code to learn system design?

You need enough programming background to understand what a thread, a request, and a database query actually do — which is exactly what stage one covers — but system design is not a coding exercise. The interview tests whether you can choose and connect components and defend the trade-offs, not whether you can implement a B-tree. That said, the concurrency and database fundamentals in stage one are non-negotiable, because every higher stage is those ideas scaled up: stateless services are a concurrency idea, replication is a database idea, and queues are both.

What is the most important stage on the roadmap?

Every stage is load-bearing, but the one candidates most often under-invest in is the last: patterns and the interview, specifically the out-loud practice. It is tempting to keep reading about CAP and consensus because intake feels like progress, but the round grades production — whether you can run the answer framework, size a design, and defend each component while an interviewer pushes back. Fundamentals through distributed systems give you the pieces; stage five is where you learn to assemble and perform them, and it is the slowest skill to build, so it deserves the most repetition.

How do I practise system design out loud?

Reading builds recognition, but the interview makes you produce a design in conversation, which is why the roadmap ends in out-loud reps rather than more reading. On Zynter, the system design track runs voice mock interviews modelled on how real company loops run — you sketch the architecture on a shared canvas, justify each component to a voice interviewer that follows up ("why that database?", "where does the write go when the primary is down?"), and get a debrief across problem solving, communication, technical execution and time management so you know which dimension to fix next. It is a genuine system design mock interview on demand, and the score is a practice signal, not a hiring decision.

Practise it on Zynter

A roadmap you read is recognition. A design you defend out loud is the skill that passes.

Once the stages are in place, spend your reps here: pick a high-level design scenario, sketch it on a shared canvas, and defend every component — database, cache strategy, shard key, consistency model — to a voice interviewer that keeps pushing, then read the debrief and fix your weakest dimension. Zynter.ai is on-demand mock interviews modelled on how real company loops run, with 150+ rounds across 20 companies (Sep 2026), including high-level design scenarios from URL shorteners to ride-sharing — about $8–$12 for a full 60-minute mock, and two free credits to start.

Practise a system design round →
Browse all interview tracks

原文:https://www.a8q9.cn/en/article/system-design-roadmap-what-to-learn-and-in-what-order-0676e3.html

相关文章