LESSON 04 · High-level design

Draw the smallest useful blueprint

Show major responsibilities and data movement before internal details.

SYSTEM VIEW

The decision path

Diagram view
Swipe or scroll to explore the full diagram
Draw the smallest complete pathShow the client, the request handler, and persistent data first. Add a component only when a requirement gives it a job.Draw the smallest complete pathrequestread / writeClientstarts a user actionServicehandles the requestData storekeeps durable stateBoundary notesownership · failure · trustThis is a starting model. Extend it when a need or failure demands it.
Show the client, the request handler, and persistent data first. Add a component only when a requirement gives it a job.
Follow how each decision narrows and strengthens the design.
THE IDEA

How it works

A blueprint, or high-level design, is a diagram of the major components and the data moving between them. Start with clients and the service boundary. Add components needed to explain primary behavior: an API or web tier, a persistent store, and any cache, media store, or queue with a clear role. Arrows should show who sends a request, where a write lands, and who returns the result.

Each box should earn its place. For a photo-sharing service, a first draft might be: client, API service, Postgres for post records, and S3 for image bytes. The split has a reason: Postgres is good at small records you query in many ways, while an object store such as S3 is cheaper and simpler for large files you fetch by key. A CDN, a network of caches near users, joins the drawing only if estimates justify it, say 50 TB of image transfer per day in this example. If you cannot state what a box is for, remove it.

Treat the blueprint as a shared hypothesis. Check it against requirements and rough numbers, then invite feedback. A box called “database” is enough when the open question is the request path; choose schemas or algorithms when those details become the decision at hand. The cost of staying high-level is that a single box can hide the hardest problem, which is why a deep dive follows. For a small change to an existing system, draw only the part that changes.

DECISION POINT

You need an initial design for posting and reading a feed. What belongs on the first diagram?

Write a sentence or two to unlock the guidance. Committing first is what makes it stick.

Keep in mind

  • Every component should serve a stated requirement or constraint.
  • Agree on the overall shape before spending time on low-level details.
CHECK YOUR UNDERSTANDING

Put it into practice.

1 OF 2
RecallQUESTION 01

What should each component establish in the first blueprint?

Choose an answer. You’ll see the explanation once you get it right.

Next lesson

0 of 2 checkpoints answered correctly to complete this lesson.