You describe application architecture and process design by creating two linked but distinct explanations: an architecture description that shows the system's structural components and the rules connecting them, and a process design description that shows how work moves through those components over time. The key condition is audience and purpose. A description written for one reader, such as an incoming engineer, a security reviewer, or a procurement committee, must say what that reader needs to decide or do, or it will fail even if every diagram is accurate. Dumping after-the-fact "solution architecture" into documents nobody reads is a common way to produce a technically correct description with no operational value. The goal is not to describe everything; it is to describe the parts that constrain future changes, carry risk, or explain observed behavior. This article breaks the work into ordered steps, shows what each step produces, and explains how to check that the result is useful rather than merely complete.

Start with the decisions the description must support

Before drawing anything, write down who will read the description and what each reader must decide or do. Architecture descriptions earn their keep by supporting real decisions: where a feature can be added, whether a service can be replaced independently, how a failure propagates, whether a deployment can be repeated from scratch, and which trade-offs were deliberately accepted. A single reader rarely needs all of these.

A practical starting set is three or four readers with one explicit question each. Examples: "Can we move this module to a new database without rewriting the billing logic?", "What happens when the identity provider times out?", "Which team owns this queue?", "Can we deploy on Tuesday without a coordinated release across services?"

Prerequisites for the whole exercise: a system or proposed system that actually exists in some form, access to people who know why decisions were made, and permission to write down constraints rather than aspirational designs. If you are describing a system you do not own, confirm which version or environment you are documenting and note it on every view. Version is the quiet source of most documentation disputes: a diagram that omits the release or environment will be read as universal truth.

Success looks like every later view and process flow tracing back to one of those reader questions. A useful check: for each view you produce, write one sentence beginning "This helps [reader] decide [decision]." If you cannot fill in both blanks, the view is decoration and should be merged or removed.

Separate static structure from dynamic behavior before writing

The two halves of the query are different products, and mixing them is the most common failure. Application architecture describes what exists and the rules that bind it: components, their responsibilities, their interfaces, and their allowed dependencies. Process design describes what happens over time: events, orchestration, state transitions, failure paths, and the timing and ordering constraints on work.

A concrete test distinguishes them. "The order service calls the payment service over HTTPS with a two-second timeout" mixes both. Split it. Structural: order service depends on payment service; the interface is synchronous HTTPS; ownership, versioning, and failure semantics of that dependency are documented. Behavioral: a checkout request produces an authorize call, then a capture call after fulfillment confirmation, with retry and dead-letter handling described in a sequence flow.

When you skip this split, you get documents that read as architecture but silently encode process assumptions, and the classic error is missing failure behavior because synchronous calls "obviously" succeed. Architecture views answer availability and interface questions; process designs answer what happens under concurrency, retries, and partial failure.

Not every system needs both at the same depth. A batch reconciliation job may need a process flow and only a thin structural note; a shared library may need an interface and dependency view with no process design at all. State explicitly which side is intentionally thin and why.

Describe structure with views, responsibilities, and interfaces

The widely used pattern is to describe architecture through a small set of views that each answer one class of question, rather than one comprehensive diagram. Four views cover most needs:

Context view. The system as one box, the external actors and systems around it, and the direction of each relationship. This is the best first page in any document because it settles scope disputes. Include only external dependencies that actually cross a trust or ownership boundary.

Component view. The internal building blocks and their responsibilities. The critical detail here is the interface contract: what a caller may rely on, what may change, and what the invariants are. "The inventory service exposes a check and reserve operation; a reservation expires in ten minutes; callers must not assume availability until reservation confirmation" tells a reader far more than a box labeled "Inventory Service."

Deployment view. Where components run: hosts, containers, clusters, regions, network zones, and the mapping from components to runtime units. This view exposes the difference between a logical boundary and a physical one. Two components that share a database instance may be logically separate but operationally coupled.

Dependency and data view. Which components read and write which data stores, and what governance rules apply. Data ownership is where most hidden coupling lives, so make it explicit: one writer per dataset, allowed access paths, and retention or privacy constraints.

For each component, record responsibility, interfaces, owned data, and the coupling rules it must obey. Use plain, consistent terms: "service," "module," "job," and "adapter" should be defined once, because inconsistent nouns create phantom boundaries.

Worked example. A retail checkout system might be captured in a table with columns Component, Responsibility, Interface contract, Owned data, and Runtime. The payment adapter's responsibility is card authorization and settlement; its contract is synchronous authorization with a bounded timeout plus an asynchronous settlement callback; the data it owns is the payment attempt ledger; runtime is one deployment unit in the payments namespace. That is enough detail for another engineer to identify a coupling problem, such as checkout depending directly on settlement callbacks.

Document the rules and constraints that diagrams cannot show

Diagrams show boxes and arrows; architecture descriptions need the rules that boxes and arrows cannot carry. Write them down as explicit constraints, ideally numbered so a human or automated review can check them.

Typical rules worth recording for any nontrivial system:

Dependency direction. The web tier calls the domain services; domain services never call the web tier. Batch jobs write through the same domain interfaces as interactive traffic. Communication style. Synchronous calls only between user-facing services and their immediate dependencies; all cross-team work is asynchronous through a named channel. This is a rule you can test by mapping actual calls. Data ownership. Each dataset has exactly one owning component and one writer. All other access is by interface or read model. Tenancy and environment. No production data in lower environments; environment identity is carried in configuration, not in code branches. Versioning. Backward-incompatible interface changes require a versioned endpoint or a documented rollout sequence. Failure semantics. Write operations crossing a boundary need idempotency keys, and retries must be bounded.

Rules should be stated in testable language because the most common verification is a review question: "Does anything violate rule 3?" The stop condition for this activity is also worth naming. If your rules rely on a specific vendor's undocumented behavior, a current platform configuration you have not confirmed, or a legal or regulatory constraint you cannot verify, flag it as an open question with the exact check needed rather than asserting it.

Constraints you cannot change belong in the same place but clearly labeled: mandated technology choices, data residency, licensing, interoperability requirements, and legacy systems with contractual lifetimes. These are the walls that make "ideal" design options irrelevant, and readers need to see them to avoid proposing work that cannot happen.

Describe process design with flows, states, and failure paths

Process design is the behavioral companion. The question it answers is: given an input or event, what sequence of work occurs, what state changes, who decides, and what happens when something goes wrong partway through?

A workable description has four parts.

Trigger and outcome. What starts the process (a user action, a scheduled tick, an incoming message, a webhook), and what counts as success. Ambiguity here causes the rest to drift.

Ordered steps with ownership. Each step names the actor, the action, and the state transition it causes. For example: receive checkout event; authorize payment (payment adapter; attempt moves to authorized); reserve inventory (inventory service; reservation moves to held); confirm order (order service; order moves to confirmed); request capture (payment adapter; attempt moves to captured); notify fulfillment (message queue; shipment moves to queued).

Failure and compensation paths. Describe what happens at each step if the next one fails. If capture fails after inventory is held, the process needs a documented compensation: release the reservation and mark the order failed-with-refund-pending. This is the part most first drafts omit, and it is usually the only part operations cares about.

Concurrency and timing. Where can two copies of the process run at once, and what prevents double execution? What ordering is guaranteed by the message channel, and what is not? What are the timeouts, retry limits, idempotency requirements, and dead-letter destinations? State the deadline budget explicitly: if checkout must respond in two seconds and three synchronous calls each take up to 800 ms, the budget is already overspent and the reader can see why.

A success check for a process description: an informed engineer should be able to walk an abnormal case, such as a timeout at step three followed by a retry, and predict the final state and every record written. If they cannot, the failure path is underdescribed.

Also state what the process design deliberately does not handle, such as out-of-band manual corrections, and point to where that procedure lives.

Choose notations and keep the set minimal

Notation choices are secondary to clarity, but consistent notation at least prevents the arrows from meaning different things on different pages. A few options cover nearly everything:

Context and component diagrams. A box-and-line notation, with explicit directionality and a short legend defining every arrow type and every box type. If your organization uses one, include the legend on each page: the same symbol commonly means "calls," "publishes to," and "is deployed with" depending on the author. Deployment views. A plain structural diagram showing hosts, clusters, and networks, annotated with the mapping from components to runtime units. Process flows. A numbered sequence of steps with state names, or a sequence diagram for synchronous call-and-response timing. A state machine or state list is often the clearest single artifact, because it shows both the happy path and the states from which recovery is possible. Data flow. A short direction of data between stores and components, with the transformation noted at each move.

Keep the total view count small enough that the set can be read together, typically four structural views and two or three process flows. Every diagram needs a text companion with the normative content (interfaces, rules, timeouts), because diagrams are ambiguous and text is reviewable. Conversely, do not duplicate prose rules in a table and a board; pick one place as authoritative and point to it.

A legend should allow a reader to decode the diagram without the author present. That is the real bar, and it is worth keeping small: every box type and every line type gets one line in the legend, with direction and meaning.

Make the description the product of its readers

The strongest architecture and process documents are written with the future reader's decisions in mind, and they are tested against those readers before they are considered finished.

A simple exercise applies the working backward principle from product development: start from the question a specific reader will ask and use the description as evidence that the answer exists and is written down. This flips the usual order. Instead of enumerating everything the system contains, you ask "What would a new engineer need to know to safely change the checkout flow?" and then write only that.

Practical tests that take an hour:

1: Give the description to an engineer who did not write it, and ask them to sketch the failure path for one specified anomaly. 2: Ask a reviewer to verify one constraint (say, data ownership for one dataset) using only the document. 3: Ask an operations reader to state the expected behavior under load or dependency failure, and compare with what actually happens.

Any mismatch is a defect in the description, not in the reader. This is also why reviewing realistic failure scenarios is a more cost-effective way to test architecture knowledge than asking people whether they "understand the diagram."

Keep the description current and treat staleness as a defect

Stale descriptions are worse than none, because people trust them and then make decisions on outdated structure. Two mechanisms keep them honest.

First, bind the description to change. A change that alters a component interface, a data owner, a dependency rule, or a process failure path should require a matching description update as part of the definition of done. If the change system does not make that linkage, the document will lag within a quarter.

Second, assign each section an owner and a review cadence, and track last-confirmed state rather than absolute dates. A section can be accurate and decades old if nothing has changed, so "last confirmed against version X on date Y by owner Z" is the more honest record. Mark unknown sections as unknown rather than letting them decay into misleading prose.

A cheap drift check: compare the component-to-runtime mapping and the dependency list against what the system observably does (deployment manifests, call logs where available, configuration). Any discrepancy is either a system problem or a documentation problem, and both deserve a ticket. The stopping point for ongoing maintenance: if the description cannot be kept accurate with reasonable effort, reduce its scope to the few views and rules that must stay true rather than letting a broad document rot.

Worked end-to-end example

A short end-to-end pass makes the order of operations concrete.

Suppose a small team runs an online ordering service with a web app, an order service, a payment adapter, an inventory service, a database, and a message queue. The readers are a new engineer, a security reviewer, and an operations lead. The new engineer needs to know where to add a discount feature. The security reviewer needs the trust boundaries and the payment data path. Operations needs the failure behavior.

Structure: a context view shows browser, order service, payment processor, and warehouse system as external actors. A component view lists the five internal components with responsibility, interface, and owned data. Rules: order service is the only writer to the orders dataset; inventory is the only writer to the reservation dataset; payment calls are synchronous with a bounded timeout and settlement is asynchronous; all cross-team boundary work is via the queue. Deployment view maps components to two namespaces and one database cluster, and the submission shows that inventory shares a cluster with orders, which the description flags as a coupling to revisit if either grows. The security reviewer's question is covered by a trust-boundary note: card data never reaches order service; the payment adapter holds the only credential and the only tokenization path.

Process: checkout flow with six steps as above, then the failure paths: authorization failure releases nothing and returns an explicit decline reason; reservation failure after authorization triggers a documented void of the authorization; capture failure after reservation release is not available when the processor call times out, so the order moves to pending-capture with a scheduled reconciliation and a manual escalation rule. The deadline budget shows the synchronous path at about 1.5 seconds in the worst case, within the two-second target.

The success check: the new engineer can name the exact component and data store the discount feature must touch, the security reviewer can mark the card path as compliant, and the operations lead can state the expected behavior if the payment processor times out. Three readers, three answers, one consistent description.

Limits and when a different artifact fits better

This approach describes a system that has identifiable components and processes. It fits poorly when the question is a narrow transformation within one module, where a function-level explanation and a small data flow is all that is required, or when the goal is pure decision rationale, where a short decision record is the right artifact rather than a full architecture description. Combining both sides of the query into one document is only worthwhile when the audience overlaps; otherwise two short, purpose-built documents beat one bloated one.

A final caution on precision: this article uses generic examples and illustrative numbers, not measurements of any specific system. Any figure you publish should be traced to an actual observation with its environment, version, and measurement method labeled. If you cannot verify a constraint or a timing, write it as an open question with the exact check required, and leave the rest of the description honest about what is confirmed.

FAQ

Does an architecture description have to use a formal framework such as C4 or TOGAF?

No. Frameworks are collections of conventions, and the essential content is the same: a small set of views, explicit rules, interfaces, and failure behavior, each traceable to a reader's decision. C4's layered views are a useful default if you have no organizational convention, but adopting a framework does not substitute for testing the description against readers. Use the smallest set that supports the decisions you listed at the start.

How detailed should a process design be for a simple CRUD feature?

Detail proportional to risk. For a feature with a single writer and no cross-boundary calls, a trigger, a short ordered step list, and a note on what failure means is enough. The detail that earns its keep is the failure and concurrency content: if the operation can be retried, say whether it is idempotent; if two requests can race, name the mechanism that serializes or deduplicates them. Everything else can wait until a reader's decision depends on it.

How do we keep both halves consistent when the system changes?

Link them through a single change workflow: any change that alters a component interface, data owner, dependency rule, or process failure path requires the description to be updated in the same change. Then review the description against observable behavior on a cadence, and mark sections as unknown rather than letting them go stale. Consistency between the structural and behavioral halves is itself a property worth testing, by asking whether every process step names a component that exists in the structure view with a matching interface.