Architectural Drivers and Quality Attribute Scenarios
Identify architecturally significant requirements, prioritize quality goals, and express them as testable scenarios.
Introduction
Not all requirements influence architecture equally. Hundreds of functional requirements may map onto the same structure, while a single requirement such as “data must stay in the EU” or “99.99% availability” can reshape everything.
Architects focus on the requirements that drive structure: the architecturally significant requirements (ASRs). This lesson shows how to find them, rank them, and make them concrete enough to design against and later to test.
Learning Objectives
- Identify architectural drivers: ASRs, constraints, and business goals.
- Prioritize quality attributes using impact and difficulty.
- Write quality attribute scenarios with stimulus, environment, and response measure.
- Build a utility tree to organize and rank drivers.
- Use AI to find missing drivers and challenge priorities.
1. What Makes a Requirement Architecturally Significant?
A requirement is likely significant when it:
- Is costly to change late (data residency, tenancy model).
- Sets a demanding quality target (latency, availability, throughput).
- Affects many components (authentication, audit logging).
- Has no obvious solution within the team’s usual approach.
- Carries high risk if wrong (privacy, compliance).
- Introduces an external dependency or integration style.
Most functional requirements are not architecturally significant. A “create theme” function is easy to place almost anywhere.
2. Types of Drivers
| Driver | Meaning | SignalDesk example |
|---|---|---|
| Functional ASR | Functionality that shapes structure | Asynchronous import of large files |
| Quality attribute | Required qualities | 95% of searches within 1 second |
| Constraint | Fixed decision imposed from outside | EU-only data storage |
| Business goal | Strategic or economic aim | Low operating cost during the first year |
| Team / organizational | Skills and capacity | Four engineers, limited operations time |
Include business and team drivers: they are often the real reason a “technically superior” option is wrong.
3. Quality Attribute Scenarios
A vague quality goal cannot guide design. A scenario makes it concrete with six parts:
| Part | Meaning |
|---|---|
| Source | Who or what triggers it |
| Stimulus | The event or condition |
| Environment | The state of the system |
| Artifact | The part affected |
| Response | What the system does |
| Response measure | How success is measured |
Example, performance:
Source: a product manager. Stimulus: submits a search query. Environment: normal operation, a workspace with 50,000 items. Artifact: the search function. Response: returns ranked results. Response measure: within 1 second for 95% of requests.
Example, availability:
Source: a hosting failure. Stimulus: one application instance becomes unavailable. Environment: normal operation. Artifact: web application. Response: traffic is served by remaining instances. Response measure: no user-visible errors beyond requests in flight; recovery within 2 minutes.
Example, modifiability:
Source: a developer. Stimulus: needs to add a new import source. Environment: design time. Artifact: import subsystem. Response: new source is added without modifying existing sources. Response measure: within 5 developer-days, with no changes to the theme or summary components.
Example, security/privacy:
Source: a user in workspace A. Stimulus: attempts to access a theme from workspace B by guessing its identifier. Environment: normal operation. Artifact: data access layer. Response: request denied and logged. Response measure: 100% of attempts denied in testing.
Numbers here are illustrative; use those from your SRS.
4. The Utility Tree
A utility tree organizes quality goals from broad attribute to concrete scenario and ranks each.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Utility
|
+-- Performance
| +-- Search latency at 50k items (H, H)
| +-- Import of 10k-row CSV (M, M)
|
+-- Availability
| +-- Instance failure (H, M)
| +-- Dependency outage (email provider) (M, M)
|
+-- Security & Privacy
| +-- Cross-workspace access (H, H)
| +-- Deletion within 30 days (H, M)
|
+-- Modifiability
+-- Add new import source (M, L)
Each leaf is rated for business importance and difficulty/risk (High, Medium, Low). Leaves rated high on both are the primary drivers and receive the most design attention.
5. Prioritize Honestly
You cannot maximize everything. Rank quality attributes and record why. For SignalDesk, a plausible ordering might be security and privacy, then reliability of import, then search performance, then modifiability, then extreme scalability. This order is illustrative, a hypothesis to confirm with stakeholders.
If every attribute is “critical”, ask what would happen if one were degraded. The answer reveals the real priorities.
6. Use AI to Find Missing Drivers
AI is helpful at listing quality attributes you did not consider, and at turning vague statements into scenario drafts. You must supply real context.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Act as a software architect facilitating a quality attribute workshop.
Context:
[Paste scope, SRS NFRs, constraints, team and business context.]
Tasks:
1. Identify the likely architecturally significant requirements and
explain why each is significant.
2. Draft quality attribute scenarios (source, stimulus, environment,
artifact, response, response measure) for the top eight.
3. Mark any number that was not in the input as "placeholder".
4. Propose a utility tree with high/medium/low ratings and justify
the ratings.
5. List the questions stakeholders must answer to confirm priorities.
Do not invent requirements. Do not recommend technology yet.
Challenge the result. Ask: “Which of these priorities would change if the business wanted to maximize growth speed rather than cost control?” Confirm the final ranking with the product owner.
7. Link Drivers to Requirements
Each driver in your list must trace to an SRS requirement, constraint, business goal, or an explicit assumption. If a driver has no source, it may be gold-plating. Mark it, and ask whether anyone would notice if it were absent.
8. Practical Exercise
For SignalDesk:
- List at least 12 candidate drivers (ASRs, constraints, business and team drivers), each with a source.
- Write at least eight quality attribute scenarios with response measures, covering at least five attributes.
- Build a utility tree and rate each leaf for importance and difficulty.
- Identify the top five drivers. For each, write one sentence on how it is likely to influence the structure.
- Record open questions and placeholder numbers with owners.
Verification
You are ready to continue when:
- Each driver traces to a source or is marked as an assumption.
- Scenarios have measurable responses.
- The utility tree has explicit ratings and a ranked top five.
- Placeholder targets are labeled.
- At least one stakeholder confirmation of priorities is planned or done.
Key Takeaways
- A small number of requirements drive most architectural decisions.
- Quality attribute scenarios turn vague goals into testable ones.
- Rank drivers explicitly; not everything can be maximized.
- AI can surface candidates, but stakeholders confirm the priorities.
What’s Next?
With drivers ranked, we can compare architectural styles. Next, we look at common patterns, what each is good at, and how to choose among them for a context.