Skip to content

How this System Design course works

8 min reading

Outcome: Choose an entry point and explain what makes an architectural decision worth defending.

Page details

System Design · Frame a design

8 min reading · 23 min with the diagram and questions

Author's judgment

Published · Last edited:

More
20px

The meeting has a diagram, but no agreement

Hypothetical scenario. Northwind is preparing a catalogue promotion. Maya owns the product request, Dev is designing the application, and Priya handles customer questions.

Maya: “Customers need to be able to shop during the promotion.”

Dev: “We can put more servers behind a load balancer and cache the product pages.”

Priya: “When you say shop, do you mean they can see a product, or that we have accepted their order?”

Dev stops drawing. Maya had meant browsing. Priya had understood checkout. The diagram could support a productive discussion, but everyone was judging it against a different result.

That is where this course begins. You will learn how components work, then use that understanding to decide which components belong in a particular system. The first skill is noticing what has not yet been agreed.

What would you ask first?

Before continuing, choose the next move you would make in that meeting. Open its explanation after making your choice.

Add more servers so the promotion has enough capacity

Additional servers may eventually be useful. First establish which work they must perform. Serving a product description and accepting an order have different dependencies and consequences. Without that distinction, “enough capacity” has no agreed workload behind it.

Choose a database so the team can start implementing

A database choice helps once you understand the information the system must retain and the operations it must support. Choosing one now would leave Priya’s question unanswered. You can investigate options while clarifying scope, but an option is not yet a justified decision.

Agree which customer action must succeed and what success means

This resolves the immediate disagreement. If the action is browsing, ask what information the visitor must receive. If it includes an order, ask what the confirmation promises. Those answers give later capacity, storage and failure decisions something concrete to satisfy.

The point is not to postpone engineering until every question is answered. It is to distinguish a missing requirement from a missing component. A useful design can contain uncertainty, provided you can say which choice depends on resolving it.

A design grows through questions

For this course, a requirement describes behavior the system needs to provide. A constraint limits the choices available. An assumption is something you provisionally treat as true. When an assumption changes, the design may need to change with it.

Northwind might require visitors to see a product description. Reusing an existing product service might be an imposed constraint. The expected number of visits is an assumption until supported by evidence. Naming these differences makes disagreement easier to resolve: the team can examine a statement instead of arguing about a box.

Follow a decision from the user action to a revisionDefine the user action, draw a simple baseline, challenge an assumption, then revise the decision. Revisit the user action when the requirement changes.Define the actionand its outcomeDraw a simplebaselineChallenge oneassumptionRevise andexplain whyA changed requirement can send you back to the beginning.
Keep the reason for each change beside the drawing. The diagram records a sequence of decisions, not a compulsory technology stack.

Later chapters supply the mechanisms behind those decisions: how requests travel, where records live, how delayed work resumes and what happens when an outcome is uncertain. You will then combine them in complete-system cases.

One workload, two different impressions

Hypothetical worked example. Maya selects a small planning exercise: 100 visits arrive during one minute, and each visit produces three catalogue reads. A catalogue read here means one logical request for product information; it does not yet mean one database query.

The total is:

100 visits × 3 reads per visit = 300 reads in the minute.

Spread evenly across that minute, the average would be:

300 reads ÷ 60 seconds = 5 reads per second.

Now Maya adds an arrival pattern: 50 visits occur in the first ten seconds. The remaining 50 occur during the following 50 seconds.

The first interval contains 50 × 3 = 150 reads, giving 150 ÷ 10 = 15 reads per second. The second contains another 50 × 3 = 150 reads, giving 150 ÷ 50 = 3 reads per second. Together they still contain 150 + 150 = 300 reads.

Nothing changed about the total audience or work. What changed was our knowledge of when that work arrives. A design based only on five reads per second would overlook the busier interval.

Does this prove Northwind needs more servers? No. We have not measured how much of this work a server can complete, and 15 reads per second is itself an interval average. This example teaches a habit: follow an assumption to its consequence, then identify the evidence still needed. Page 04 develops workload estimation further.

Start with a system you can explain end to end

Hypothetical scenario, continued. Start with a browser, one catalogue application and the existing product service. The application requests Q7 and assembles its view. The catalogue owns its response.

One browsing request, before adding infrastructureThe browser asks the catalogue application, which reads the existing product-record service and returns a permitted listing or unavailable outcome.Browser1 · request Q7Catalogue appOwns the responseExisting serviceOwns product data2 · source evidence3 · listing or unavailableThe product-service storage is outside this team’s design scope.
The browser asks the catalogue application, which reads the existing product-record service and returns a permitted listing or unavailable outcome.

Ask which dependency prevents a useful result and which record supports the price. Pages 02–05 develop the interface, observation, workload and request trace.

Choose an entry point you can explain

If requests, database records, units or concurrent actions are unfamiliar, begin with System Design foundations. Its placement check helps you identify which of the seven chapters to revisit. The System Design glossary is available when a term needs a reminder.

If those ideas are already familiar, try explaining a placement answer before revealing it. Recognizing “replication” is different from explaining what a customer may read immediately after an update. A missing explanation is a useful reason to revisit a foundation, not a reason to abandon the course.

You can then continue to page 02. The core path does not require GenAI knowledge. Later specialization pages identify their own prerequisites.

What you will carry between chapters

The existing course outline remains your map. You will first frame the design, then follow requests and examine how information is stored and found. Subsequent modules introduce background work, correctness under failure, and operating a system before asking you to defend complete architectures.

Carry the result of each lesson forward. A design brief becomes a workload. A workload informs a data or request-path decision. A failure exercise tests the promise that decision makes. A complete case brings those artifacts together.

Some lessons will use a state sequence; others will use a calculation or a decision comparison. An interaction is useful when it makes a consequence visible. You should still be able to explain the reasoning without operating the widget.

Let one changed condition justify the next component

Change the design when a condition changesExtra application capacity and permitted reuse solve different problems; both still depend on the existing product source.A · Start hereOne catalogue appExisting sourceB · Capacity pressureEligible app replicasSame sourceC · Repeated readsReuse if permittedSame sourceB needs a capacity observation. C needs a freshness agreement.
Extra application capacity and permitted reuse solve different problems; both still depend on the existing product source.

Replicas may relieve an application bottleneck; permitted reuse may reduce source reads. Keep a decision register: action, assumption, mechanism, counterexample and reconsideration trigger. Preserving an allowed result is a safety claim. Completing accepted work under stated recovery conditions is a progress claim. Defend both.

Check your starting decision

A teammate adds a queue “for scale.” What would you ask?

Ask which work can finish later, what the user sees when it is accepted, and what should happen if a worker stops. A queue can support those decisions, but adding its name does not make them. First connect the mechanism to an agreed action.

The minute averages five reads per second. Is five a sufficient capacity target?

No. The selected first interval averages 15 reads per second, and neither interval establishes instantaneous peak demand or implementation capacity. Preserve the arrival assumptions and measure the relevant work before choosing a server count.

You recognize the component names in a complete chat diagram. Are you ready to skip the mechanism lessons?

Try explaining what happens when a saved message has not yet reached its recipient. Saving, delivering and showing a read receipt promise different outcomes. If you cannot explain that boundary, use the prerequisites and relevant mechanism lessons before relying on the larger diagram.

Leave the meeting with a better question

Northwind does not leave this page with a server count. It leaves with a question the team can answer together: which customer action is this design responsible for completing?

Keep a short decision record as you study: the action you are designing, why the current choice fits, and the evidence that would make you revisit it. For a small, familiar change, that record may be only a few sentences. Its value is the reasoning it preserves.

Next, turn the product request into a design brief. Maya’s original sentence—“Customers need to be able to shop during the promotion”—will become a boundary another engineer can review.