All articles

Architecture decisions that age well

A useful architecture record captures context, alternatives and the moment a decision should be revisited.

CODDEX / FIELD NOTES

Write down the constraint, not only the choice

A diagram shows how a system is arranged. It rarely explains why the team accepted one limitation and rejected another. Start every architecture decision with the constraint: latency, team capacity, operating cost, change frequency, or a regulatory requirement.

For example, choosing a single deployable application may be a deliberate response to a small team and frequent cross-module changes. Describing that constraint is more valuable than calling the architecture 'simple'.

Keep decisions small and reversible

Use a short architecture decision record: context, considered options, decision, expected consequences and a review trigger. A review trigger might be a measurable rise in deployment lead time or an observed reliability issue—not an arbitrary calendar date.

Separate decisions that can be reversed in hours from those that need data migrations or new operational skills. Spend the most discussion time on the latter.

Prefer evidence to diagrams

Before adding a queue or a service boundary, identify the failure mode or workload that motivates it. Record a baseline measurement, the proposed change and a way to verify the result.

An architecture review becomes more productive when it asks: what would make this decision wrong? That question turns a static drawing into a working hypothesis.

A concrete decision record

Imagine an order-processing team deciding whether to split its payment module into a separate service. The immediate problem is not that the module is large; it is that every payment change requires a coordinated release. The decision record should state the observed release bottleneck, the team boundaries, the latency budget and the operational capacity available. These are assumptions to test, not conclusions hidden inside a diagram.

The record could compare keeping a well-defined module inside the existing application, creating a service with synchronous calls, and introducing asynchronous processing for selected events. For each option, note deployment independence, consistency guarantees, failure handling, tracing needs and cost. A decision without alternatives is usually only a description of an implementation.

Review triggers and ownership

Give the decision a stable identifier, date of acceptance, responsible team and links to any measurements available at that time. Recording the date matters because constraints change. A decision appropriate for three engineers may need review after the organization adds specialist teams, but organizational growth alone does not prove a new architecture is better.

Choose a measurable trigger such as repeated cross-module release coordination, a clear ownership conflict or an inability to meet a documented reliability objective. During review, separate evidence of the original problem from the appeal of a fashionable technology. The output may be to keep the existing design, narrow its boundaries or replace it in stages.

Migration as part of architecture

The architecture is incomplete until the migration path is understandable. If the team extracts a service, it should identify who owns each data item, how old and new behavior will coexist and what constitutes a successful cutover. Monitoring, access controls and incident response have to follow the data flow; merely drawing two boxes does not transfer operational responsibility.

A useful exercise is to rehearse a failed rollout. Can traffic return to the old path without losing writes? Will an old client still read the new schema? Which logs make the failure visible? Write these questions next to the decision rather than leaving them to an emergency. Reversibility is a property of the transition plan as much as of the final design.

Questions for the next review

Ask whether the intended benefit materialized, what operating cost appeared unexpectedly, and whether the current team understands the failure modes. Compare the original baseline with current observations, allowing for changes in workload and measurement methods. A lower cloud bill or faster release is useful evidence only when the comparison is meaningful.

A strong architecture practice rewards decisions that can be explained and revisited. Records should stay short enough to be read before changing the system. The goal is a durable trail of reasoning, not a museum of diagrams or an approval process that prevents experimentation.

A thought experiment: when not to split a service

Consider a system where two modules always change together and share transactional data. Separating them might create more network calls, distributed failure handling and difficult consistency questions without enabling meaningful independent work. Before splitting, test whether the real problem is an unclear module interface, slow tests or a fragile deployment pipeline. Improve those first if the team can measure a benefit. Architecture should solve an observed coordination problem rather than reproduce a diagram from another organization.

Now suppose one module has a distinct security boundary, independent workload and a team prepared to operate it. Service extraction becomes a plausible option, but it still needs evidence: a documented contract, a migration plan, ownership of data and a way to measure operating cost. The comparison is not monolith versus microservices in the abstract; it is one transition path against another with clear consequences.

Before approving the change, ask someone not involved in the proposal to explain the fallback. If the explanation relies on undocumented manual database edits, a single engineer or an irreversible data conversion, the architecture decision needs more work. A phased plan that safely stops after each step may be less elegant on paper yet easier to operate under real conditions.

A practical checklist

Every important decision should have a named owner or responsible team, an explicit trade-off and a path to revision.

Architecture quality is not the number of components. It is the team's ability to change the system while keeping its promises.