BLUEPRINT · The Solution Architect's Codex
Ch 05 · Requirements & Quality Attributes
Chapter 05 · The "-ilities" that decide architectures

Requirements & Quality Attributes — numbers, not adjectives

Functional requirements describe what a system does; quality attributes describe how well it does it. The hardest, most expensive architectural decisions are driven by the non-functional set — and the most common architectural failure is accepting them as adjectives ("fast", "secure", "scalable") instead of as testable numbers under named conditions.

5.1 · Functional vs Non-Functional Requirements

A functional requirement (FR) states an externally observable behaviour: "the system shall issue a refund within 24 hours of approval." A non-functional requirement (NFR), also called a quality attribute, constrains how a behaviour is realised: latency, availability, security, modifiability, observability. NFRs drive the structure of the system; FRs drive the features. Two systems can implement the identical feature list with radically different architectures because their NFRs differ.

The eternal mistake is stating an NFR as an adjective. "Must be fast." "Must scale." "Must be secure." None of these is testable. A usable NFR is a measurable assertion under a named condition: "p99 checkout latency < 800 ms at 5 000 RPS sustained over 30 minutes, measured at the edge."

Common failure
Stakeholders write "the system must be highly available" and the team builds a single-region cluster. Six months later an availability incident reveals the unstated assumption (multi-region, RTO < 5 min) — and a rebuild.
Bad NFRBetter NFR
System must be fastp95 search latency < 250 ms at 1 000 RPS
System must be scalableLinear throughput to 10× current load by adding stateless replicas, no schema change
System must be secureAll data-at-rest AES-256; all traffic TLS 1.3; OWASP ASVS Level 2; SOC 2 Type II
System must be available99.95 % monthly availability; RTO 15 min; RPO 1 min; multi-AZ

5.2 · ISO/IEC 25010 — the quality model

ISO/IEC 25010:2011 (the successor to ISO/IEC 9126:2001) defines a Product Quality Model used across software and systems engineering. The 2023 revision (ISO/IEC 25010:2023) refines the model and adds explicit characteristics for safety and freedom from risk. The eight top-level characteristics are an industry-standard checklist; cite them by number in NFR documents.

CharacteristicSub-characteristics
Functional suitabilityCompleteness · Correctness · Appropriateness
Performance efficiencyTime behaviour · Resource utilisation · Capacity
CompatibilityCo-existence · Interoperability
UsabilityAppropriateness recognisability · Learnability · Operability · User-error protection · UI aesthetics · Accessibility
ReliabilityMaturity · Availability · Fault tolerance · Recoverability
SecurityConfidentiality · Integrity · Non-repudiation · Accountability · Authenticity
MaintainabilityModularity · Reusability · Analysability · Modifiability · Testability
PortabilityAdaptability · Installability · Replaceability

The companion standard ISO/IEC 25012 covers data quality; 25040 the evaluation process; 25023 measurement metrics. Together they make up the SQuaRE series (Systems and software Quality Requirements and Evaluation).

5.3 · FURPS+ — the HP model

FURPS was created at Hewlett-Packard by Robert Grady (1992). The "+" was added later to capture constraints that are not strictly quality attributes but bind the architecture.

LetterMeaningExamples
FFunctionalityFeatures, capabilities, security as a feature
UUsabilityHuman factors, aesthetics, accessibility, documentation
RReliabilityMTBF, MTTR, fault tolerance, recoverability
PPerformanceThroughput, response time, resource consumption
SSupportabilityTestability, extensibility, configurability, serviceability
+ DesignRequired algorithms, languages, frameworks"Must run on JVM 21"
+ ImplementationResource limits, programming languages, tools"No GPL dependencies"
+ InterfaceRequired external systems"Must consume SAP IDoc"
+ PhysicalHardware, geography"Data must remain in EU (GDPR Art. 44)"

5.4 · Quality-attribute scenarios (the six-part form)

The SEI school (Bass, Clements, Kazman — Software Architecture in Practice, 4th ed., 2021) formalises an NFR as a scenario with exactly six parts. Writing a QA scenario forces you to remove every ambiguity.

  1. Source of stimulus — who/what triggers it (user, attacker, ops, dependent system)
  2. Stimulus — the event (request, failure, change request, attempted intrusion)
  3. Environment — operational state (normal, degraded, overloaded, under attack)
  4. Artifact — what part of the system is hit (API, DB, UI, message bus)
  5. Response — the required behaviour (serve, log, alert, fail-over, reject)
  6. Response measure — the testable number (latency, percentage, time-to-recover)
// Example — availability scenario, ATM withdrawal
Source      : payment processor
Stimulus    : authorise() request
Environment : peak Friday 18:00, primary DB AZ failure
Artifact    : auth-service + replica
Response    : promote standby, replay WAL, resume traffic
Measure     : RTO < 30 s, RPO < 1 s, 99.99 % monthly availability

5.5 · ATAM — Architecture Tradeoff Analysis Method

Published by the Software Engineering Institute (SEI) at Carnegie Mellon in 2000 (Kazman, Klein, Clements), ATAM is a structured review that surfaces architectural risks. It does not score "good vs bad" — it exposes sensitivity points (decisions that strongly affect one QA), trade-offs (decisions that help one QA but hurt another), and risks (decisions whose consequences are unknown).

PhaseActivities
0 — Partnership & preparationAgree scope, stakeholders, artefacts
1 — Evaluation (decision-makers)Present method · drivers · architecture · approaches · utility tree · scenario analysis
2 — Evaluation (broader stakeholders)Brainstorm scenarios · prioritise · analyse approaches
3 — Follow-upReport: risks, non-risks, sensitivities, trade-offs
4 — ClosureLessons learned, action items, re-evaluation cadence

5.6 · QAW — Quality Attribute Workshop

The Quality Attribute Workshop (Barbacci et al., SEI 2003) is run before the architecture exists. A facilitator works with business and technical stakeholders to brainstorm raw QA scenarios, refine them into the six-part form, then prioritise. Output: a prioritised scenario list that feeds the utility tree and seeds an ATAM later.

5.7 · The utility tree

A utility tree is a hierarchical view of "what quality means for this system." The root is "Utility". The next level is the chosen QAs (from ISO 25010 or FURPS+). The next level is refinements (e.g. Performance → throughput; Performance → latency). The leaves are concrete six-part scenarios with two H/M/L scores: (business importance, architectural difficulty). Scenarios scored (H, H) are the ones an ATAM must analyse.

Utility tree shape

Utility Performance Availability Security latency(H,H) throughput(H,M) RTO/RPO(H,H) authN/Z(H,M) PII at rest(H,H)

5.8 · Tactics catalog

A tactic is a design decision that influences the response of a specific quality attribute. Bass / Clements / Kazman catalogue dozens; the seasoned architect carries the categories in memory.

QATactic families
AvailabilityFault detection (ping/echo, heartbeat) · Recovery (active redundancy, passive redundancy, spare, rollback, retry, exception handling) · Prevention (removal from service, transactions)
PerformanceControl resource demand (manage events, prioritise, bound execution, throttle) · Manage resources (concurrency, replication, cache, scheduling)
SecurityDetect (intrusion, anomaly) · Resist (authenticate, authorise, encrypt, limit exposure, validate input) · React (revoke, lock, inform) · Recover (audit, restore)
ModifiabilityReduce size of module · Increase cohesion · Reduce coupling (encapsulate, use intermediary, abstract common services, restrict dependencies) · Defer binding
TestabilityControl/observe state · Limit complexity (limit non-determinism, limit structural complexity)
UsabilitySupport user initiative (cancel, undo, aggregate) · Support system initiative (model user/task/system)

5.9 · Fitness functions

From Building Evolutionary Architectures (Neal Ford, Rebecca Parsons, Patrick Kua — O'Reilly 2017, 2nd ed. 2023), a fitness function is "an objective integrity assessment of some architectural characteristic(s)." If you can write it as a test, you can keep it true. Categories:

  • atomic vs holistic — one characteristic vs combined
  • triggered vs continual — runs in CI vs runs in production
  • static vs dynamic — fixed threshold vs adaptive
  • automated vs manual — covered by code vs requires review
  • temporal — must hold over a time window (e.g. p99 latency over 24 h)

Concrete examples: ArchUnit / NetArchTest layer rules, Dependency-Cruiser circular-dep checks, k6 / Gatling latency budgets, Trivy / Snyk vulnerability counts, OPA / Conftest policy gates, accessibility (axe-core) scores, energy/cost budgets in CI.

5.10 · The trade-off "triangle" — and its many sides

The cliché "fast, cheap, good — pick two" is the entry-level form. Real architectures negotiate a polyhedron of trade-offs. Some classic pairs:

Trade-offLesson
Consistency vs Availability (CAP — Brewer 2000)Under partition you choose one
Latency vs ThroughputBatching adds throughput at the cost of latency
Security vs UsabilityEvery extra factor adds friction
Modifiability vs PerformanceLayers add change-safety, cost cycles
Cost vs ResilienceActive-active across regions doubles spend
Generality vs OptimisationReusable APIs underperform bespoke ones
Time-to-market vs MaintainabilityThe "tactical wedge" Mark Richards warns about
Architect's rule
Write every trade-off as a sentence: "We chose X over Y because the (H,H) scenario S requires it; we accept that QA Q is bounded at value V." Capture it in an ADR (see Ch 03).

5.11 · Self-check

Q1 · Which standard defines the eight product-quality characteristics most often cited in NFR documents?
ISO 9001:2015
ISO/IEC 25010:2011 / 2023
ISO/IEC 27001
ISO/IEC 42010
Q2 · A six-part quality-attribute scenario must include all of the following EXCEPT…
Stimulus & source
Environment
Response measure
Estimated cost
Q3 · What does ATAM primarily produce?
A pass/fail score for the architecture
A list of risks, non-risks, sensitivities and trade-offs
A complete C4 model
A signed-off SLA contract
Q4 · "Fitness function" is a concept popularised by which book?
Domain-Driven Design (Evans)
Building Evolutionary Architectures (Ford / Parsons / Kua)
Software Architecture in Practice (Bass et al.)
Patterns of Enterprise Application Architecture (Fowler)