Chapter III · Area 11 of 12

Evolution & assessment

The Question for Our ShopWhat does it cost when the shipping module reads order tables directly?

Here you will find procedures with which you test architecture and develop it step by step.

Three questions for every change

  1. How does the team compare options?

    Evaluate

    A review follows order B-1042 through an outage of the payment connection and records the consequences and risks of each option.

  2. How does the structure stay healthy?

    Maintain quality

    The shipping module reads order tables directly; an automated test flags every new direct access, and known paths get a removal deadline.

  3. How is the system restructured step by step?

    Restructure

    Only invoice search moves to a new service; the invoice ID for orders is first created as optional, then made mandatory.

Known names – and where they are

This is how the building blocks hang together

Trade-off analyses and reviews assess options and risks. Fitness functions check architecture rules continuously; debt and erosion show different causes of follow-on costs. Strangler migration and data migration carry out larger changes step by step.

ActivityTrade-off analysisA trade-off analysis compares options against competing goals and their consequences.ActivityArchitecture reviewexamines designs and decisions against goals, scenarios and risksMechanismArchitecture Fitness Functionscontinuously check defined architectural rules in implementationConceptTechnical debtmake deferred work and expected follow-on costs visibleRiskArchitecture erosionshows the gradual drift from agreed structures and boundariesPatternStrangler migrationreplaces capabilities in a controlled, step-by-step way along existing boundariesActivityData migrationkeeps data and parallel versions compatible during the migration
Relations: Architecture review examines designs and decisions against goals, scenarios and risks; Architecture Fitness Functions continuously check defined architectural rules in implementation; Technical debt make deferred work and expected follow-on costs visible; Architecture erosion shows the gradual drift from agreed structures and boundaries; Strangler migration replaces capabilities in a controlled, step-by-step way along existing boundaries; Data migration keeps data and parallel versions compatible during the migration.

Your learning path through the area

Here you clarify what it costs when the shipping module reads order tables directly. From this you derive option comparisons, automated checks and step-by-step restructuring. Each building block shows its theme at our shop.

  1. Trade-off analysis

    Standalone conceptEvaluate

    This is what you learnYou can compare architectural variants based on concrete goals, boundary conditions and long-term consequences.

    In the shopThe shop checks a modular monolith structure and independently provided services. The team compares change autonomy with operational and network effort.

    Trade-off analysis Open
  2. Architecture review

    Overview & comparisonEvaluate

    This is what you learnYou can tailor an architecture review to specific quality goals, flows, risks and testable findings.

    In the shopThe team tracks the order completion in the event of a delayed payment response. It checks status model, resumption, data durability and operational indicators.

    Architecture review Open
  3. LASR

    Standalone concept

    This is what you learnAlign review scope to decision-relevant risk. Assess the result against this limit: The lightweight scope provides a focused view rather than a complete evaluation.

    In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. A shop team must decide within a week whether to integrate a new shipping partner. In a LASR review, it first clarifies the interface contract and availability goal, then product and operations prioritize risks around timeouts, retries, and data validation. A focused architecture walkthrough examines those paths. The outcome records assumptions, open questions, and mitigations so the decision remains traceable at limited effort.

    LASR Open
  4. ARID

    Standalone concept

    This is what you learnCheck early designs for clear implementation guidance. Assess the result against this limit: A small review group does not automatically represent every user role.

    In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. Before implementing a new invoicing function within the existing invoice module, the team presents its intermediate design and asks two developers to work through a typical task: store invoice status after successful payment. They find that the transaction boundary, failure path, and retry ownership are missing. The team adds these points to the architecture decision and repeats the task. The review improves implementability before coding begins.

    ARID Open
  5. SAAM

    Standalone concept

    This is what you learnCompare modifiability through concrete change cases. Assess the result against this limit: Scenario coverage limits conclusions to the changes examined.

    In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. For a new EU tax rule, the shop team defines a SAAM scenario: pricing must be updated within one release. It marks affected pricing, cart, and invoice components and compares two designs by direct and indirect changes. The result shows which option isolates the rule and which touches several modules at once. The finding informs a decision; actual change cost is measured later.

    SAAM Open
  6. ATAM

    Standalone concept

    This is what you learnEvaluate quality goals and architecture decisions together. Assess the result against this limit: Results depend on realistic scenarios and available decision makers.

    In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. For the shop, order confirmations should remain timely during a campaign, and payment failures must not create duplicate charges. An ATAM team collects measurable scenarios, maps them to decisions about the database, broker, and payment call, and examines which decisions affect several goals at once. It documents open risks and assigned follow-up as workshop outcomes.

    ATAM Open
  7. Technical debt

    Standalone conceptValidate

    This is what you learnYou can prioritize technical debt based on its concrete consequences and expected change costs.

    In the shopThe shipping module reads order tables directly. Any change to the status field requires manual tuning and causes recurring error checks.

    Technical debt Open
  8. Software Analytics

    Standalone concept

    This is what you learnTurn development data into reviewable architecture questions. Assess the result against this limit: A correlation in repository data does not prove a technical cause.

    In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. A team observes that order and payment code often change together and appear in defects across several releases. Software analytics links commit history, module ownership, and defect tickets into a hotspot report. A review finds that a shared pricing rule explains the coupling; the metric alone would not reveal the cause. The team prioritizes a clear contract and tracks change effort and defect rate over subsequent releases.

    Software Analytics Open
  9. Architecture erosion

    Standalone conceptValidate

    This is what you learnYou can distinguish newly emerging architectural deviations from known violations and set a verifiable degradation rule.

    In the shopShipping has a baseline with two known direct order accesses. A test marks each newly added dependency; the known paths have responsible persons and degradation cut-off date.

    Architecture erosion Open
  10. Architecture Fitness Functions

    Standalone conceptValidate

    This is what you learnYou can formulate an architectural property as an automated, meaningful audit with a defined scope.

    In the shopThe shop maintains dependencies between order, shipping and invoice modules within defined module contracts. An automatic test marks unauthorized database accesses.

    Architecture Fitness Functions Open
  11. Strangler migration

    Standalone conceptRestructuring

    This is what you learnYou can gradually replace an existing ability and set measurement points and a way back for the transition.

    In the shopVariant: The shop only directs the bill search to a new service. Ordering and payment remain in the modular monolith; routing can be deferred for search.

    Strangler migration Open
  12. Data migration

    Standalone conceptRestructuring

    This is what you learnYou can break down a schema change into compatible steps that safely operate parallel versions.

    In the shopThe shop adds an invoice identifier for orders. First, the column is optionally created, then filled by the application and only later mandatory read.

    Data migration Open
  13. Expand and contract

    Standalone concept

    This is what you learnKeep contract changes compatible during incremental delivery. Assess the result against this limit: Parallel operation temporarily increases complexity and must be actively completed.

    In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. The shop needs to replace `delivery_note` with `shipment_reference`. First, a database migration adds the new column and the application reads both fields. In the next release, it writes both values and a background job backfills existing orders. Metrics show all instances using the new column; a later contract release removes the old one. This permits rollback during migration and separates the destructive change from the first deployment.

    Expand and contract Open
  14. Distributed Monolith

    Standalone concept

    This is what you learnYou can detect symptoms of tight coupling across service boundaries and name a suitable structural correction.

    In the shopVariant: Order and shipping services share a table and must be published together. A modular monolith structure remains the starting variant of the shop.

    Distributed Monolith Open
  15. Big Ball of Mud

    Standalone concept

    This is what you learnRecognize structural entropy through actual change impact. Assess the result against this limit: The label summarizes symptoms but does not determine a modernization strategy by itself.

    In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. In the shop, pricing rules are copied in several places, and a change to order status requires edits across catalogue, cart, invoice, and shipping code. Software analytics shows files that change together often; an architecture review confirms that business boundaries barely hold in code. The team first stabilizes critical flows, assigns pricing to a clear module, and adds a contract test. Subsequent changes cut coupling incrementally while the shop continues to ship.

    Big Ball of Mud Open
Afterwards in the learning path · area 12Documentation & communication