How it works · 2 of 49 Foundation

What are quality attributes and trade-offs in software architecture?

You choose what to be worse at

Quality attributes & trade-offs: Every architecture makes some qualities better (speed, availability, consistency, cost, ease of change) by making others worse, so the architect's job is to choose which ones the business can afford to lose, and to write that down.

Loading the animation…

Say it like this Every architecture makes some qualities better by making others worse, so the job is to choose which ones the business can afford to lose, and write that down.

Under the hood — for builders
Real case: what 400 ms cost Google
Google slowed its results page on purpose for a share of users and counted their searches. The loss grew with exposure:
Run here: waiting for the slowest copy
Why consistency costs speed, in numbers. A toy run for this card: 200,000 reads, three copies each answering after a random delay (median 5 ms). Answer from the first copy, from two of three, or only when all three agree:
The five, in plain words
Fast: how quickly one answer comes back (latency) and how many per second (throughput). Always on: the share of time it answers (availability). Consistent: every reader sees the latest write. Cheap: money per request or per month. Easy to change: how fast a change ships safely. ISO/IEC 25010:2023 lists nine quality characteristics; these five collide most often in architecture.
Write it as a scenario, with a number
"Fast" can't be traded; "200 ms for 99% of searches at peak" can. The six-part quality scenario from Bass, Clements and Kazman, filled in for this card's search page:
So what: judge on the slowest 1%
Averages hide trade-offs. In the run above, waiting for all copies costs 2.7× at the median but 3.2× at the slowest 1%, which is where users notice.
Measure it
Latency at the 50th and 99th percentile per endpoint · availability % per month · staleness (seconds a read can lag) · cost per 1,000 requests · lead time for a change.
Watch out
"All five, maximised" is not a requirement. Name the two you will give up, and get the business owner to sign that line.
Sources
Brutlag, "Speed Matters for Google Web Search" (Google, 22 Jun 2009) and Google Research blog "Speed Matters" (23 Jun 2009) · ISO/IEC 25010:2023, iso.org (nine characteristics; edition 2, Nov 2023) · Bass, Clements & Kazman, Software Architecture in Practice, quality attribute scenarios (SEI) · simulation run for this card, 18 Nov 2026.

What happens in the quality attributes & trade-offs animation, step by step?

  1. Five qualities every system is judged on. They are tied together: push one and the others move.
  2. Make every copy agree before answering, and every answer waits for the slowest copy. Consistent goes up; fast and always on are pulled down.
  3. Your turn: slow the search page down and watch what people do.
  4. Google, 2009: 100–400 ms slower meant 0.2–0.6% fewer searches per user, and at 400 ms the loss grew from 0.44% to 0.76% as the weeks went by.
  5. A ledger gives up speed for consistency; a feed gives up consistency for speed. Same five qualities, two right answers.
  6. Some of these settings you can change next week. Some, once poured, you can't. Next: which is which.

What everyday example explains quality attributes & trade-offs?

Packing a rucksack for a trek. The tent, the stove and the spare jacket each buy comfort and each is weight carried uphill. There is no best rucksack, only the right one for this trail (the requirements); an expert can tell you exactly what they left behind.

Why should a team care about quality attributes & trade-offs?

Before you choose a design, name the two qualities it will sacrifice and get the business owner to agree in writing. A design review that cannot name its sacrifices has not finished.