Skip to content

Module 02 · Lesson 2.2

Choosing a System Shape

40 minUpdated 19 Nov 2026Part of Architecture Decisions · New Project Creation
On this page
  1. What you will learn
  2. What a system shape is, and the three options
  3. Compare system options with weighted criteria
  4. Worked scenario: Tidewell chooses one web application
  5. Step-by-step workflow: choose a system shape
  6. Using an AI assistant to challenge a shape decision
  7. Conclusion and your next step
  8. Reusable prompt
  9. Expected output
  10. Common errors and fixes
  11. Validation checklist
  12. Hands-on exercise
  13. Knowledge check
  14. Frequently asked questions
  15. References

When you move house, you do not start with the sofa. You first decide whether to buy a flat, rent a house or build. That choice sets the limits for everything after it. A system's shape is the same kind of choice.

In this lesson you compare three shapes for Tidewell Physiotherapy's booking system. You score them against criteria taken from the drivers in the last lesson, and you see how a clear scoring table turns an argument into a decision. You also learn how to use an assistant to attack your choice before you commit to it.

What you will learn

  • Describe three common system shapes in plain words: one application, a split frontend and API, and a bought service.
  • Choose criteria from your architecture drivers and give each a weight.
  • Score options in a table, use must-have criteria as gates, and explain the result honestly.
  • Use an AI assistant to challenge a shape decision and write down what would make you revisit it.

Before you start

  • Completed Architecture Drivers and Constraints, or have a traced list of drivers of your own.
  • Access to any capable AI assistant.
  • Optional: Node.js, if you want to run the scoring example.

What a system shape is, and the three options

A system shape answers one question: into how many separate programs do we divide the system, and who runs them? A deployable is one program you put on a server and start. Think of it as one shop. You can run one big shop, or several small ones that work together.

Frontend
The part people see and touch: the pages in the browser. It is like the shop window and counter.
API
A set of agreed requests that programs use to ask a system for data or actions. It is like the order slip that the counter hands to the stock room.
REST API
A common style of API over the web, where each address stands for a thing, such as a booking, and standard actions are used on it.
System of record
The one place that holds the true, current version of the data. It is like the master diary that everyone trusts.
OptionWhat it isEveryday comparison
A: one deployable web applicationOne program serves the pages and the REST API. In our stack this is a Next.js application.One shop with the counter and stock room under one roof.
B: separate frontend and API serviceA frontend program in the browser, and a second program for the API, each built and deployed on its own.A counter in one building and a warehouse in another, with a delivery van between them.
C: configure an off-the-shelf booking serviceYou buy or rent a finished product and set it up. You write little or no code.Renting a ready-made stall instead of building a shop.

Each shape is right for some projects. B suits large teams where one group builds pages and another builds the API, or where a phone app and a website share one API. C suits needs that every business has in the same way. Neither is better in general. The drivers decide.

Compare system options with weighted criteria

Arguments about design often go in circles, because people use different yardsticks. A weighted criteria table gives everyone the same yardstick. You list what matters, give each item a weight for its importance, then give each option a score.

Pick criteria from your drivers

Do not invent criteria from taste. Take them from the driver table. For Tidewell, six drivers and requirements give six criteria. The weights add up to 100, so each weight reads as a percentage.

CriterionComes fromWeightMust-have?
Correct bookings under concurrencyD1, NFR-0125No
Owner chooses where data is heldD5, CON-0120Yes
Fits one developer and a small budgetD620No
One system of recordD315No
Waiting list on cancellationFR-0310No
Works on a phoneD2, NFR-0210No

A must-have is a gate, not a score. CON-01 is a Must requirement. An option that fails it is out, however well it does elsewhere. A weighted average can hide a failure like that, so check the gates separately.

Score each option from 1 to 5

A score of 5 means it meets the criterion very well, and 1 means very badly. These scores are judgements. Base each one on evidence you can name, such as a trial of the product or a test, and write the evidence beside the number.

CriterionA: one appB: splitC: buy
Correct bookings under concurrency554
Owner chooses where data is held552
Fits one developer and a small budget425
One system of record544
Waiting list on cancellation552
Works on a phone444
Scores for Tidewell. C scores low on data location and the waiting list because of what the practice manager found when trying two products.

A small scoring function you can run

A spreadsheet is enough for this, and many teams use one. If you prefer code, this short TypeScript file does the same sums. It is a thinking aid, not part of the booking system. It was run twice and gave identical results both times.

TypeScriptscore.ts
type Criterion = { name: string; weight: number; mustHave?: boolean };
type Option = { name: string; scores: Record<string, number> };

const criteria: Criterion[] = [
  { name: "Correct bookings under concurrency", weight: 25 },
  { name: "Owner chooses where data is held", weight: 20, mustHave: true },
  { name: "Fits one developer and a small budget", weight: 20 },
  { name: "One system of record", weight: 15 },
  { name: "Waiting list on cancellation", weight: 10 },
  { name: "Works on a phone", weight: 10 },
];

const options: Option[] = [
  { name: "A: one web application", scores: { "Correct bookings under concurrency": 5, "Owner chooses where data is held": 5, "Fits one developer and a small budget": 4, "One system of record": 5, "Waiting list on cancellation": 5, "Works on a phone": 4 } },
  { name: "B: frontend + API service", scores: { "Correct bookings under concurrency": 5, "Owner chooses where data is held": 5, "Fits one developer and a small budget": 2, "One system of record": 4, "Waiting list on cancellation": 5, "Works on a phone": 4 } },
  { name: "C: off-the-shelf service", scores: { "Correct bookings under concurrency": 4, "Owner chooses where data is held": 2, "Fits one developer and a small budget": 5, "One system of record": 4, "Waiting list on cancellation": 2, "Works on a phone": 4 } },
];

/** Weighted average on a 1-5 scale. A must-have scored below 3 rules the option out. */
export function scoreOption(option: Option, list: Criterion[]) {
  const totalWeight = list.reduce((sum, c) => sum + c.weight, 0);
  const weighted = list.reduce((sum, c) => sum + c.weight * option.scores[c.name], 0);
  const failed = list.filter((c) => c.mustHave && option.scores[c.name] < 3).map((c) => c.name);
  return { name: option.name, score: Math.round((weighted / totalWeight) * 100) / 100, failed };
}

for (const r of options.map((o) => scoreOption(o, criteria))) {
  const note = r.failed.length > 0 ? "  RULED OUT: " + r.failed.join(", ") : "";
  console.log(r.name.padEnd(28) + " " + r.score.toFixed(2) + note);
}

Weighted scores with a must-have gate. Scratch file, not part of the product.

  • Criterion and Option describe the shapes of the data: a criterion has a name and weight, and an option has a score per criterion name.
  • criteria holds the six criteria. Only Owner chooses where data is held is marked mustHave: true.
  • options holds the three shapes with their scores from the table above.
  • scoreOption multiplies each score by its weight, adds them up and divides by the total weight. That gives an average between 1 and 5.
  • The same function lists any must-have criterion that scored below 3. Those are the gate failures.
  • The last loop prints one line per option and adds RULED OUT when a gate failed.
Result of `npx tsx score.ts`Captured from a real run
A: one web application       4.70
B: frontend + API service    4.15
C: off-the-shelf service     3.60  RULED OUT: Owner chooses where data is held

Worked scenario: Tidewell chooses one web application

Tidewell's choice is A, one deployable web application that serves both the pages and the REST API. In our stack that is Next.js, which can hold pages and API routes in one project. This is recorded later as ADR-001.

Option C was close. A ready-made service would have saved weeks, and the budget is small. The practice manager tried two products and found two problems:

  • Neither product could offer a freed slot to the waiting list. That is FR-03.
  • Neither let the owner choose where the data is held. That is CON-01, a Must.

The second problem is a gate failure, so C is out whatever its total. Option B was never likely to win. Two programs mean two things to deploy, watch and fix, and D6 says one developer and a later contractor. B would add work for no need yet.

Say what would change your mind

A choice is only honest if it says when it stops being right. For Tidewell the record says: revisit A if a native phone app, or a partner, needs the API at a scale the single application cannot serve. Until then, A stands.

Step-by-step workflow: choose a system shape

  1. Step 1: Name two or three real options

    Always include a 'buy' option and the simplest build option. Avoid comparing one real choice against two weak ones.

    What you should see: A list of options, each with a one-line description.

  2. Step 2: Choose criteria from your drivers

    Take five to eight criteria from the driver table. Mark the Must ones as gates.

    What you should see: A criteria table with sources.

  3. Step 3: Weight the criteria

    Give weights that add to 100. Ask the owner which two criteria matter most, and make sure they hold the largest weights.

    What you should see: Weights the owner agrees with.

  4. Step 4: Score with evidence

    Score each option from 1 to 5. Write the evidence beside each score. For a bought product, try it before you score it.

    What you should see: A score table where every number has a reason.

  5. Step 5: Check the gates, then the totals

    Remove any option that fails a must-have. Then compare the totals, and test whether a small change in weights flips the order.

    What you should see: A shortlist and a note on how close it is.

  6. Step 6: Record the decision and what would change it

    Write the choice, the rejected options and the trigger for revisiting. The next lessons show how.

    What you should see: A decision ready for an ADR.

From options to a decision
  1. Options

    Build, split, buy

  2. Criteria

    From the drivers

  3. Weights

    Agreed with the owner

  4. Scores

    With evidence

  5. Gates and totals

    Rule out, then rank

  6. Decision

    And when to revisit

Gates come before totals, because a total can hide a failure.

Using an AI assistant to challenge a shape decision

An assistant is useful as a challenger. It can list weak points in your scoring, point to a missing option, or play the part of a sceptical reviewer. It is much less useful as the decider, because it does not know your budget, your team or your client.

TaskAssistant's partYour part
Suggest optionsProposes shapes you had not considered, with when each fits.Keeps only those that are realistic for your team and budget.
Check the scoringPoints out scores with no evidence, and weights that look odd.Gathers the evidence, such as trying a product, and fixes the scores.
Argue the other sideWrites the strongest case for the option you rejected.Judges the case against the drivers, and updates the record if it holds.
Draft the wordingTurns your table into a short paragraph.Checks it says what you decided, and nothing more.

Conclusion and your next step

A system shape is a big choice, so compare real options against criteria taken from your drivers. Use must-haves as gates, score with evidence, and say what would make you change your mind. For Tidewell, one web application wins, and buying was close but failed on data location.

Your next step: score two or three shapes for your own capstone project, then continue to Choosing Technology with Trade-offs. There you choose the language, framework and database inside the shape you picked.

Read more in the blog post Writing Architecture Decision Records (ADRs) with AI, or practise on the Appointment Booking Portal project.

Reusable prompt

System shape challenger

Reviews your option comparison, points out missing options and weak scores, and argues the case for a rejected option.

You are a sceptical reviewer of an architecture choice. Do not make the decision for me and do not invent facts about products.

Fictional clinic: Tidewell Physiotherapy. Drivers: correct bookings when two people act at once; patients use phones; staff and patients share one diary; every change recorded; patient data held under the clinic's duties with the owner choosing the region; one developer with an assistant, a small budget, a local contractor to maintain it later.

Options: A) one deployable web application serving pages and a REST API; B) a separate frontend and a separate API service; C) configure an off-the-shelf booking service.

My scoring (1 to 5): A 4.70, B 4.15, C 3.60. C is ruled out because two products I tried could not offer freed slots to the waiting list or let the owner choose where data is held.

Tasks:
1. List any option I missed that is realistic for one developer and a small budget.
2. Point out scores or weights that look unsupported, and say what evidence would support them.
3. Write the strongest argument for option C, in five sentences or fewer. Mark every product fact "Needs checking".
4. List two events that would make me revisit my choice.
Show the reusable template

Replace each {{placeholder}} with your own details.

You are a sceptical reviewer of an architecture choice. Do not make the decision for me and do not invent facts about products.

Context: {{organisation_and_scope}}
Drivers: {{architecture_drivers}}
Options: {{options_with_one_line_each}}
My scoring (1 to 5) and the reasons for any option ruled out: {{scores_and_gates}}

Tasks:
1. List any option I missed that is realistic for {{team_and_budget}}.
2. Point out scores or weights that look unsupported, and say what evidence would support them.
3. Write the strongest argument for the option I rejected, in five sentences or fewer. Mark every product fact "Needs checking".
4. List two events that would make me revisit my choice.

Expected output and limitations

A short reply with four parts: any missed options, the scores or weights that lack evidence, a brief argument for the rejected option with product facts flagged, and two events that would trigger a revisit.

Sample responseIllustrative — your output will differ
1. Missed option: a hosted form-and-calendar tool plus a small custom page for the waiting list. Realistic for one developer. Needs checking: whether its data can be held where the owner chooses.

2. Unsupported: "Fits one developer" gives A a 4 and B a 2. What evidence? Estimate the work for the deploy and monitoring of two programs.

3. Case for C: setup would take days, not weeks. The clinic keeps developer time for other work. Needs checking: whether any product offers freed slots to a waiting list through a setting or an add-on.

4. Revisit if: a native app is requested; the number of clinicians grows beyond what one developer can support.

Limitations to keep in mind

  • The assistant may state product facts as if they were certain. Treat each as a question until you test the product or read its current documentation.
  • It may suggest an option that suits a large company, not one developer with a small budget. Check each suggestion against driver D6.
  • It cannot know the owner's real priorities. A weight is only right when the owner has agreed it.

Common errors and how to fix them

Only one real option is compared.

Why it happens: The team has already decided and the other options are there for show.

Fix: Include a realistic buy option and the simplest build option, and score both honestly.

Must-have requirements are averaged with everything else.

Why it happens: A single total looks neat, and hides a failure.

Fix: Check gates first. An option that fails a Must is out, whatever its total.

Scores come from the assistant's confidence, not from evidence.

Why it happens: A fluent answer felt like a fact.

Fix: Write the evidence beside each score. Try the product, run a test or read its current documentation.

Validation checklist

Tick each item once you have confirmed it.

Hands-on exercise

A system shape for Ferngate Cycle Repairs

Compare three shapes for Ferngate's parts and stock tool: one web application, a split frontend and API, and an off-the-shelf stock tool. Write a weighted criteria table with scores and evidence, name the decision, and say what would change it.

You will need

  • Your Ferngate drivers from the last lesson.
  • Note: mechanics share one tablet, with greasy hands.
  • Note: the internet connection in the workshop is unreliable.
  • Note: the owner reorders every Friday by counting shelves, and the low-stock threshold is 'to be agreed'.

Acceptance criteria

Your work is done when every one of these is true.

Hints (2)
  • Ask what the bought tool does when the connection is down.
  • Try changing the largest weight by 10 points. Does the order of the options change?
Show a model answer

A strong answer weights unreliable connection and ease of use on a shared tablet highly, because those match the workshop's real limits. It scores the bought tool by what it actually does offline, with evidence from a trial, not from its advertising. It marks any gate, such as data staying with the owner, and applies it before the totals. It admits when two options are close, and writes a clear trigger, such as 'revisit if the workshop opens a second site or needs a customer app'. The answer does not pick a product brand.

Knowledge check

Choose an answer, then check it. Nothing is recorded — this is for you.

  1. 1.Option C has the second-highest total, but it fails a must-have requirement. What do you do?
    Show the answer and explanation

    Answer: B. A must-have is a gate, and an option that fails it cannot deliver a Must. A high total is tempting because averages feel fair, but they let strong scores hide a failure. Changing the weight to rescue an option is a way of fixing the answer first.

  2. 2.An assistant gives option B a score of 5 for 'fits one developer'. What is the best action?
    Show the answer and explanation

    Answer: B. A score needs evidence, and the assistant does not know your team. Accepting it is tempting because it comes with an explanation, but explanations can be fluent and wrong. Removing the criterion would hide a real driver, D6.

  3. 3.Why does a decision record say when to revisit a choice?
    Show the answer and explanation

    Answer: B. Drivers change, for example when a partner needs the API. A revisit note tells the team what to watch. It is not meant to freeze the choice, which is the tempting misreading, and not every option has an end date.

Frequently asked questions

What is the difference between a monolith and microservices?

A monolith is one program that holds everything. Microservices split the system into many small programs that talk to each other. For a small team and a small system, one well-organised program is usually simpler to build, test and run.

Should a small project use a separate frontend and backend?

Not by default. Split them when different teams build each part, or when other programs, such as a phone app, need the same API. If one developer builds everything, one deployable is often enough, and you can split later.

When is buying a ready-made product better than building?

When your needs are the same as most other businesses, and the product meets every must-have, including where your data is held. Try the product with your real workflows first. If it fails a must-have, it is out.

Can an AI assistant choose the system architecture for me?

It can suggest options and argue against your choice, which is useful. It cannot decide for you, because it does not know your team, budget or the owner's rules. Make the decision yourself, using criteria taken from your own drivers.

Written by
PromptFable Editorial
Last updated 19 Nov 2026
Review
Reviewed by Waseem Nadir, Technical Reviewer
Last reviewed 27 Nov 2026

References

Primary sources for the technical details in this lesson. Vendor platforms change — check the official page if anything here looks different from what you see.

PromptFable is independent and is not affiliated with, endorsed by or sponsored by Anthropic, Google, OpenAI or any other vendor. Claude, Gemini, Google AI Studio and other product names are trademarks of their respective owners.