Product & innovation · Product strategy & innovation
Technical architecture framework
Best for Startup to Growth
Use it when
You are building or reworking a product's system and need to choose its structure and technology from measurable quality goals, recording each decision before the team builds.
Skip it when
- Your marketing systems are already chosen and you need to map the data moving between them. Use Integration architecture framework.
- The structure is set and you need one set of rules for a public API's resources, errors and versions. Use API design principles, which this feeds.
- You have not yet compared your product's capabilities with the products buyers weigh it against. Run Competitive product analysis first, which feeds this.
- The system is built and you need to see how it behaves under growing load. Use Scalability testing.
What to apply first and what to use instead are listed below.
Inputs
- Design purposeWhy you are designing now, such as an estimate for a proposal, a prototype or a release, and the business goals it serves, from the product plan.
- Primary functionsThe few user tasks the system must support first, from the user stories or requirements list.
- Quality attribute scenariosEach written as source, stimulus, environment, affected part, response and a measurable response measure, such as peak bookings per minute with a response time, from a workshop with stakeholders.
- ConstraintsMandated technologies, budget, deadlines, regulation, team skills and systems you must connect to, from IT, legal and the delivery plan.
- Architectural concernsNeeds that cut across the system, such as logging, deployment, security and the existing code base, from the engineering team.
Steps
- Rank the quality scenarios on importance to the business and technical risk, each high, medium or low, and design first for those rated high on one and at least medium on the other.
- Pick the drivers for this round of design, starting with the top scenarios, the primary functions and the constraints that shape the whole system.
- Choose design concepts that meet those drivers, such as reference architectures, patterns, tactics and the frameworks or products for the stack, comparing at least two options for each major choice.
- Name the building blocks, give each its responsibilities and define the interfaces between them, then sketch the context, building block and deployment views.
- Write a decision record for each significant choice, with its context, the decision, the options rejected and the consequences.
- Check the design against every top scenario, list risks and technical debt, and plan the next round or a prototype for any scenario the design may miss.
Output
An architecture document the team builds and reviews against, with ranked quality scenarios, views and decision records.
- Design purpose and business goals
- Quality scenarios with response measures and rank
- Constraints and concerns
- Technology stack choices
- Context, building block and deployment views
- Decision records with rejected options
- Result of the check against each scenario
- Risks and technical debt, with owners
Done when
- Every quality scenario has a stimulus, a response and a measurable response measure.
- Each top scenario maps to at least one design decision, with its check result written beside it.
- Every major technology choice has a decision record that names the options rejected.
- The context, building block and deployment views are drawn and agree with the decision records.
- Each open risk has an owner and a next step, such as a prototype or a load test.
Measure
After release, measure each top scenario in production or in load tests each month for two to three quarters, for example response time at peak or the effort a planned change takes. Compare each result with the response measure you set. The design worked when scenarios meet their measures without reworking the structure. Run a new design round when a scenario misses or a new driver appears.
Hypothetical example
Tallyhouse is a five-engineer team building class booking software for fitness studios. Its top scenarios are confirming a booking within one second when 2,000 members tap at once as a class opens, and adding a new payment provider in under two weeks. Constraints are one programming language the team knows and a fixed hosting budget. The team compares one deployable application with separate services, chooses the single application with a queue for bookings, and records that separate services were rejected as too costly to run with five engineers. A payment interface keeps providers apart from the booking logic. A load test of the booking path is the first open risk, owned by the lead engineer.
Common mistakes
- Writing quality goals as adjectives such as fast or scalable. Write each as a scenario with a measurable response.
- Choosing the stack first from team preference. Choose technology after the drivers are ranked, and record the options rejected.
- Designing for every quality at once. Rank scenarios by importance and risk and design for the top ones first.
- Keeping decisions in people's heads. Write a decision record for each significant choice so later teams can see why it was made.
Sources
- Designing Software Architectures: A Practical Approach (sample pages, chapter 2 and contents) · Humberto Cervantes and Rick Kazman, 2016
- ADD 3.0: Rethinking Drivers and Decisions in the Design Process · Humberto Cervantes and Rick Kazman, 2015
- arc42 section 10, Quality Requirements · Gernot Starke and Peter Hruschka
Show all 5 sources
- arc42 section 9, Architecture Decisions · Gernot Starke and Peter Hruschka
- arc42 documentation · Gernot Starke and Peter Hruschka
By company stage
Apply first
Nothing. You can start here.
Use instead
- Integration architecture framework
Your marketing systems are already chosen and you need to map the data moving between them. Use Integration architecture framework.
- API design principles
The structure is set and you need one set of rules for a public API's resources, errors and versions. Use API design principles, which this feeds.
- Competitive product analysis
You have not yet compared your product's capabilities with the products buyers weigh it against. Run Competitive product analysis first, which feeds this.
- Scalability testing
The system is built and you need to see how it behaves under growing load. Use Scalability testing.
Where it sits
Open the product strategy & innovation roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account