ArchitectMind
  1. Home
  2. Java Ecosystem
  3. Book 7 · Application Architecture & Distributed Systems
  4. Volume VIII
  5. Architecture Decision Process
Book 7 · Volume VIII — Architecture Decision-Making & System Evolution · Topic 1.2

Architecture Decision Process

Problem, constraints, options, evaluation and decision

9 min readStage 3 · Systems8 interview questions
Chapter
Chapter 1 — Architecture Decision Records
Prerequisites
Topic 1.1
You will be able to
Frame an architecture problem precisely, identify and classify constraints, generate genuinely different options, evaluate them with criteria and evidence, reach and communicate a decision with clear ownership, size the process to the decision's impact and avoid both analysis paralysis and gut calls
Covers
Problem; Constraints; Options; Evaluation; Decision
On this page
  1. 1. Concept / Definition
  2. 2. Why It Exists
  3. 3. Core Concepts
  4. 4. How It Works Internally — Sizing the Process
  5. 4A. Deep Dive — Decision Quality vs Outcome
  6. 5. APIs / Features / Syntax
  7. 6. Practical Examples
  8. 7. Common Problems & Mistakes
  9. 8. Performance & Production Considerations
  10. 9. Architecture & Design Considerations
  11. 10. Interview Questions & Answers

1Concept / Definition

An architecture decision process is the repeatable sequence by which a team moves from a problem to a recorded decision: define the problem, identify constraints, generate options, evaluate them against criteria with evidence, and decide — then record the result as an ADR. Its purpose is not bureaucracy but fairness, speed and explainability.

The decision process
Figure 1 — The decision process
TOC stepDefinition
ProblemA precise statement of what must change and why — the business goal, affected users, current pain with measurements, success criteria and the quality attributes that matter most — framed without presupposing a solution
ConstraintsNon-negotiable or costly-to-change limits that any option must respect — regulatory, technical standards, organisational skills, budget and deadlines — used to eliminate infeasible options early
OptionsTwo to four genuinely different candidate solutions (including "do nothing" or "improve what we have"), described just enough to be compared
EvaluationComparing options against criteria derived from the drivers, using evidence — spikes, benchmarks, cost estimates, reference architectures, risk analysis — often summarised in a weighted matrix
DecisionSelecting an option with a named decider, communicating it, recording it as an ADR with consequences and follow-ups, and setting conditions or a date to revisit
Table 1 — The five TOC steps

2Why It Exists

Unstructured decisions are made by whoever argues loudest or first, repeat endlessly, and cannot be explained later. A light, consistent process produces better decisions faster.

Without a shared process, architecture decisions tend to fail in one of two ways. Some are gut calls: the most senior or most persistent person picks a favourite technology, the alternatives are never written down, and the same argument returns every few months because nobody can show why the choice was made. Others drift into paralysis: options multiply, evaluation never ends and the deadline makes the decision by default. A consistent, lightweight sequence avoids both. Everyone knows what information is needed, who decides and by when, so disagreements are about evidence rather than status. The recorded result also helps new team members and auditors understand the system, and it lets the organisation improve the process by measuring decision lead time.

Two failure modes
Figure 2 — Two failure modes

3Core Concepts

3.1 Problem

Weak problem statementStrong problem statement
"We need Kafka.""Order status reaches 8 consumers via callbacks; 3% fail at sale peaks, causing wrong customer notifications."
"Search is slow.""Search p95 is 1.8 s at 2k rps; target 300 ms by Q4 for conversion."
"Move to microservices.""Six teams deploy one app weekly; lead time 12 days; target daily independent deploys."
Table 2 — Problem before solution

3.2 Constraints

Kinds of constraints
Figure 3 — Kinds of constraints
Constraint vs requirement vs assumptionExample
Constraint (must respect)Payment data stays in India
Requirement (must achieve)p99 checkout < 800 ms
Assumption (believed true, verify)Traffic grows 40% per year
Table 3 — Keep them separate

3.3 Options

Narrowing options
Figure 4 — Narrowing options
Option generation techniqueYields
Include do-nothing / tune existingBaseline for comparison
Managed vs self-run variantOps trade-off visible
Reference architectures (AWS, peers)Proven shapes
Ask "what would we do with half the budget?"Simpler options
Table 4 — Generating real alternatives

3.4 Evaluation

Evidence typeUse
Spike / PoC (1–5 days)Feasibility, developer experience
Benchmark (k6/Gatling)Performance claims
Cost model (AWS Pricing Calculator)TCO over 3 years
Risk analysisFailure modes, lock-in, skills
Reference checksOther teams' experience
Table 5 — Evaluating with evidence
JAVA
// A 2-day spike: measure MSK publish latency from EKS with the real payload size
@Test
void publishLatencyUnderLoad() throws Exception {
    var latencies = new ConcurrentLinkedQueue<Long>();
    try (var exec = Executors.newVirtualThreadPerTaskExecutor()) {
        for (int i = 0; i < 50_000; i++) {
            exec.submit(() -> {
                long t0 = System.nanoTime();
                String key = UUID.randomUUID().toString();
                kafka.send("spike.orders", key, samplePayload()).get();
                latencies.add((System.nanoTime() - t0) / 1_000_000);
            });
        }
    }
    // evidence for the ADR
    System.out.println("p99 ms = " + Percentiles.p99(latencies));
}

3.5 Decision

Decision-rights modelWhen
Team decides (two-way doors)Service internals
Architect decides after consultationCross-team technical choices
ARB / design authorityOne-way doors, enterprise standards
Business sponsor signs offMajor cost or risk acceptance
Table 6 — Who decides
Who is involved
Figure 5 — Who is involved

4How It Works Internally — Sizing the Process

Effort proportional to impact (illustrative)
Figure 6 — Effort proportional to impact (illustrative)
Decision sizeProcess
Small, reversibleTeam discussion, short ADR, same day
MediumOptions doc, 1–2 spikes, peer review, 1–2 weeks
Large, one-wayFormal evaluation, PoCs, ARB, sponsor, 4–6 weeks
Table 7 — Right-sizing
StepTime-box (medium decision)
Problem + drivers1 day
Constraints + options1 day
Evaluation incl. spikes5 days
Review + decision2 days
ADR + communication1 day
Table 8 — Time-boxing a two-week decision

4ADeep Dive — Decision Quality vs Outcome

ConceptMeaning
Good decision, bad outcomeRight process, unlucky event — keep the process
Bad decision, good outcomeLuck — don't repeat the process
Pre-mortem"It's a year later and this failed — why?" surfaces risks
Reversibility checkTwo-way doors get faster process (Topic 1.3)
Review dateRevisit with real data
Table 9 — Judging decisions fairly
Communication after decidingChannel
ADR mergedRepo, portal
Summary to affected teamsArchitecture newsletter / Slack
Dissent recordedADR consequences / notes
Follow-up ticketsBacklog
Table 10 — Closing the loop
Decision process rules
Figure 7 — Decision process rules

5APIs / Features / Syntax

NeedTooling
FramingProblem statement template, utility tree
EvidenceSpikes, k6/Gatling, AWS Pricing Calculator
ComparisonWeighted matrix (Topic 2.2)
RecordingADR (Topic 1.1)
RightsRACI, ARB charter
Table 11 — Toolkit

6Practical Examples

6.1 From "we need GraphQL" to a better answer

A team asked for GraphQL. Reframing the problem — mobile checkout makes 9 REST calls, p95 2.4 s — produced options: GraphQL federation, a REST BFF, or client-side batching. Evaluation with a 3-day spike showed a BFF cut calls to 2 and p95 to 700 ms with no new platform; the BFF was chosen and GraphQL recorded as rejected.

6.2 A constraint that decided everything

A proposal to use a US-hosted SaaS fraud engine was eliminated in the constraints step (payment data residency), saving weeks of evaluation.

6.3 Worked example — problem statement

Who, what pain, measured, goal, deadlineComplete frame
Table 12 — Template

6.4 Worked example — drivers

Throughput > replay > ops effort > costRanked
Table 13 — Priorities

6.5 Worked example — do-nothing

Tune callbacks with retries + DLQBaseline option
Table 14 — Always include

6.6 Worked example — knock-out

Must run in ap-south-1Eliminates 2 SaaS options
Table 15 — Constraint filter

6.7 Worked example — assumption check

"Team knows Kafka" → 2 of 6 doTraining cost added
Table 16 — Verify assumptions

6.8 Worked example — spike

MSK p99 publish 18 msEvidence
Table 17 — Evaluation

6.9 Worked example — TCO

3-year cost incl. peopleNot just infra
Table 18 — Evaluation

6.10 Worked example — pre-mortem

"Consumers fell behind"Add lag SLO
Table 19 — Risk discovery

6.11 Worked example — dissent

One team prefers EventBridgeRecorded in ADR
Table 20 — Transparency

6.12 Worked example — decider

Principal architect (after team input)Named
Table 21 — Accountability

6.13 Worked example — escalation

Cross-org impact → ARBOne-way door
Table 22 — Rights

6.14 Worked example — deadline

Decide by Sept 15 for DiwaliTime-box
Table 23 — Avoid paralysis

6.15 Worked example — review condition

"Revisit if > 20 consumers"Trigger
Table 24 — Built-in revisit

6.16 Worked example — communication

ADR + 5-line summary to #architectureAwareness
Table 25 — Close loop

6.17 Worked example — reversal

New data → new ADR supersedesHealthy
Table 26 — Learning

6.18 Worked example — metrics

Median decision lead time 9 daysProcess health
Table 27 — Improve process

6.19 Worked example — ADR

DecisionRationale
Adopt 5-step process with size-based time-boxesFair, fast, explainable
Table 28 — Recorded

6.20 Worked example — review checklist

Check✔
Problem without solution✔
Constraints listed✔
≥ 2 options + do-nothing✔
Evidence-based evaluation✔
Table 29 — Process review

6.21 Worked example — interview answer

StepAnswer
Problem → Constraints → Options → Evaluation → DecisionRecorded as ADR
Table 30 — Structured answer

7Common Problems & Mistakes

  • Solution-first problem statements.
  • Constraints discovered late.
  • Straw-man options.
  • Opinion instead of evidence.
  • No named decider.
  • No deadline — decision by default.

Each of these mistakes corresponds to skipping or rushing one step of the process. A solution-first problem statement, such as "we need Kafka", decides the outcome before options are considered. Constraints discovered late, often residency or security rules, waste weeks evaluating options that were never allowed. Straw-man options, deliberately weak alternatives listed beside a favourite, make the evaluation a formality. Opinion instead of evidence turns the decision into a contest of seniority, when a two-day spike could settle the argument. Without a named decider, discussions loop because nobody can close them, and without a deadline the decision is made by default when the old system fails or the project runs out of time.

8Performance & Production Considerations

AspectGuideline
FramingProblem + ranked drivers
FilteringConstraints early
Options2–4 real + do-nothing
EvidenceSpikes, benchmarks, cost
ClosureDecider, ADR, revisit trigger
Table 31 — Operational guidelines

9Architecture & Design Considerations

  • Scale process to impact and reversibility.
  • Involve those who build and run the system.
  • Prefer evidence over authority.
  • Treat decisions as revisable with new data.

10Interview Questions & Answers

Q1L1 · BasicConcept

What are the steps of an architecture decision process?

There are five steps: problem, constraints, options, evaluation and decision, with the result recorded as an ADR. First frame the problem precisely: the business goal, current pain with measurements, success criteria and ranked quality drivers, without naming a solution. Second, list constraints such as regulation, standards, skills, budget and deadlines, and use them to eliminate infeasible options early. Third, generate two to four genuinely different options, including doing nothing or improving what exists. Fourth, evaluate them against criteria from the drivers using evidence like spikes, benchmarks and cost models. Finally, a named decider chooses, communicates the decision, records consequences and dissent, and sets a revisit trigger. The whole process is sized to the decision's impact.

Q2L1 · BasicConcept

Why define the problem first?

Because most bad architecture decisions fail at the first step: they solve the wrong problem or start from a favourite technology and work backwards. "We need Kafka" or "we need GraphQL" is a solution, and it frames every later discussion around one option. A real problem statement says who is affected, what the pain is, how it is measured, what success looks like and by when, for example mobile checkout makes nine REST calls with p95 at 2.4 seconds. That statement produces ranked drivers and evaluation criteria, and often reveals simpler options; in the note's example a REST backend-for-frontend beat GraphQL federation. It also gives an objective test of whether the decision worked.

Q3L2 · IntermediateTricky

Constraint vs requirement?

A constraint limits which solutions are allowed; a requirement is an outcome the solution must achieve. "Payment data must stay in India" is a constraint: it is not negotiable, and it eliminates options such as a US-hosted fraud engine. "Checkout p99 under 800 milliseconds" is a requirement: options can meet it in different ways and are compared on how well they do. A third category is often confused with both: assumptions, such as "traffic grows 40% per year" or "the team knows Kafka", which are believed true but must be verified. Keeping them separate matters because constraints filter options before evaluation, requirements become criteria, and unverified assumptions are risks that can invalidate a decision.

Q4L2 · IntermediateConcept

Why include a do-nothing option?

The do-nothing option, or its close relative "improve what we have", is the baseline every other option must beat. Without it, a team compares two new solutions and picks the better one, without asking whether either is worth the cost and risk of change. Tuning the existing system, for example adding retries and a dead-letter queue to failing callbacks, may solve most of the problem for a fraction of the effort, and sometimes it wins outright. Even when it loses, it quantifies the cost of not acting, which strengthens the case for the chosen option with sponsors. It also guards against straw-man evaluations, where weak alternatives are listed only to justify a predetermined favourite.

Q5L3 · Senior EngineerDesign

What evidence would you gather?

I would gather the cheapest evidence that can settle the claims the decision depends on. For feasibility and developer experience, a time-boxed spike or proof of concept of one to five days, such as measuring MSK publish latency from EKS with real payload sizes. For performance claims, benchmarks with k6 or Gatling at realistic load. For cost, a three-year total cost model that includes people and operations, not just infrastructure, using the AWS Pricing Calculator. For risk, an analysis of failure modes, lock-in and skills, often through a pre-mortem. And reference checks with other teams or companies running the technology. Evidence should target the top-ranked drivers, because measuring everything becomes analysis paralysis.

Q6L3 · Senior EngineerScenario

How do you avoid analysis paralysis?

Size the process to the decision and give it a deadline and a named decider. Small, reversible decisions get a team discussion and a short ADR the same day; medium ones get an options document and one or two spikes in about two weeks; only large, one-way decisions justify formal evaluation and an architecture review board over four to six weeks. Within that, time-box each step, for example one day for the problem and five for evaluation including spikes. Tie the deadline to a business event, such as deciding by September 15 for the Diwali sale. Accept some uncertainty, record assumptions and set a revisit trigger, so the decision can change when real data arrives.

Q7L4 · Technical ArchitectTrade-off

Who should decide?

It depends on scope and reversibility, and the decision rights should be agreed before the debate starts. Reversible two-way-door decisions inside one team's service, such as a library or an internal data structure, should be made by that team quickly. Cross-team technical choices, like an event broker or integration pattern, are typically decided by an architect after consulting the affected teams. One-way-door decisions and enterprise standards, which are costly to reverse or affect many teams, go to an architecture review board or design authority. When the decision involves significant cost or risk acceptance, a business sponsor signs off. In every case one person is named as decider, and dissent is recorded in the ADR.

Q8L5 · Solution ArchitectDesign

How do you make decisions explainable years later?

Record the reasoning, not just the outcome, in an ADR stored where the system lives, usually in the repository. A useful ADR captures the problem statement with its measurements, the ranked drivers, the constraints and assumptions at the time, the options considered including rejected ones, the evidence such as spike results and cost models, the decision and its named decider, the consequences, any dissent, and a revisit trigger. Later readers can then judge the decision by the context it was made in rather than by hindsight. When new data changes the answer, write a new ADR that supersedes the old one instead of editing it, so the history of the reasoning stays intact.

Test your knowledge on this topic →Flashcards from this topic's 8 questions, filtered by level and type.

Free question pack

Get 100 free Core Java interview questions

Subscribe for the Book 1 question pack (PDF, every answer explained) and new tutorials once a week. No spam, unsubscribe anytime. What is in the pack?

Almost done! Check your inbox and click the confirmation link. Your download link arrives as soon as you confirm.