Skip to content

Lesson 2 of 9 · 21m

Constraints, User Journeys, and Non-Goals

Separate functional behavior from operational qualities, trace end-to-end journeys, and use non-goals to prevent architecture sprawl.

A design review goes sideways when one person hears "fast," another hears "correct," and a third hears "cheap." All three are right until the system forces a choice. Good designers surface the collision early. They write functional requirements, quality attributes, and exclusions as separate kinds of truth.

Functional requirements are verbs

Functional requirements describe behavior users can observe:

users can create a workspace
members can invite collaborators by email
owners can revoke access
readers can open shared documents

Avoid nouns pretending to be requirements. "Microservices" is not a requirement. Neither is "event-driven." Those are implementation choices that may or may not serve the verbs.

Quality attributes need measurable shapes

Quality requirements become design inputs only when measurable. Replace vague adjectives:

availability   shared document open succeeds 99.95% monthly
latency        document open p95 < 800ms for users in-region
durability     acknowledged edits survive loss of one AZ
consistency    collaborators see each other's edits within 2s
cost           storage and compute < $0.08 per active workspace/month
security       workspace data isolated across tenants

Notice that each statement names a dimension and boundary. "Fast" does not help you choose cache eviction. "p95 open latency under 800 ms" does.

Trace journeys across state transitions

A user journey is not a marketing funnel; it is a sequence of state transitions:

create workspace -> invite member -> member accepts -> edit document
owner revokes member -> member refreshes -> access denied
owner deletes workspace -> reads stop -> retention clock starts

The revoked-member path matters because it crosses cache invalidation, authorization, session lifetime, and replication lag. Systems rarely fail at the happy path. They fail at awkward transitions: retries after timeout, deleted parents, expired invitations, concurrent edits, and restored backups.

Separate business scale from technical scale

Ten thousand users can mean ten requests per second or ten thousand, depending on behavior. Ask for active users, session length, actions per session, read/write ratio, payload size, seasonality, and fan-out. A school platform has morning spikes; a tax product has annual spikes; a multiplayer game has evening concurrency. Average load hides the shape you actually need to survive.

Non-goals control scope and social risk

At work, non-goals protect teams from accidental obligations:

not migrating existing authentication in this phase
not guaranteeing cross-region writes during a region outage
not supporting offline mobile editing
not exposing a public API before usage audits exist

The best non-goal names the tempting thing. If someone will inevitably ask for active-active writes, state why that is excluded and what evidence would reopen it.

Field notes

  • A requirement without an owner becomes an assumption; assumptions become outages.
  • Record unknowns explicitly rather than pretending certainty. "Assume 5:1 read/write ratio" is better than silence.
  • Compliance requirements often constrain deletion, residency, audit, and key management more than raw traffic does.
  • Interviewers reward candidates who check constraints before changing scale. At work, your future self will too.

Was this lesson helpful?

Sign in to rate