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.

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 risksMechanismFitness 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; 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. 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. 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. 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
  4. 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
  5. 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.

    Fitness functions Open
  6. Strangler migration

    Restructuring

    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
  7. Data migration

    Restructuring

    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
Afterwards in the learning path · area 12Documentation & communication