Skip to content

Engineering scenario 01

Modernising Legacy Enterprise Systems

Replacing a business-critical core in stages, so operations continue while the architecture, data and delivery model move forward.

Illustrative engineering scenario. It describes how we would approach this class of problem; it is not a completed client engagement, and no client identity, data or result is disclosed.

Business context

The situation behind the request.

A system that has run the business for a decade or more is rarely one application. It is a core platform, a set of customisations, scheduled batch jobs, a reporting estate and a group of integrations added one department at a time. It still works, which is precisely why it is hard to replace: the business has built operating habits, controls and exceptions around its exact behaviour.

The pressure to change usually arrives from several directions at once. Releases take months, the people who understand the customisations are retiring, and new products need data and interfaces the current design cannot provide. Modernisation is therefore not a technology refresh. It is a programme that has to improve the architecture without interrupting the operations that depend on it.

The challenge

What has to change, and what cannot.

The organisation needs the capability of a modern platform — modular services, stable interfaces, observable behaviour — while month-end close, regulatory reporting, order fulfilment and audit obligations continue on the existing system. Any plan that requires a long feature freeze is commercially unacceptable, and any plan that switches everything at once concentrates the risk into a single, irreversible moment.

Conventional approaches tend to fail in predictable ways. A full rewrite produces a clean design but rebuilds years of undocumented behaviour from memory, and the old system stays live throughout. A lift-and-shift moves the same design to newer hardware. A package replacement assumes the organisation will adopt the vendor's process rather than the one it has spent a decade refining. Each treats modernisation as a replacement event rather than a controlled sequence of reversible steps.

Why it is difficult

The engineering decisions that matter.

01

The specification is the running system

Business rules live in triggers, stored procedures, scheduled jobs and manual workarounds. No document states them, and interviews surface the intended process rather than the exceptions that keep it running. Behaviour has to be recovered from code, data and observed transactions before it can be preserved or deliberately retired.

02

Data carries the history

Identifiers are reused, statuses have meanings that changed over time, and records reference systems that no longer exist. A migration that copies rows without reconciling meaning produces a system that is technically complete and commercially wrong.

03

Cutover is an organisational event

The switch touches finance calendars, integrations, reports and trained staff at the same time. Sequencing, rollback and acceptance criteria are as much part of the architecture as service boundaries, and they need to be agreed with the people who carry the operational risk.

Our engineering approach

How we would investigate, design and deliver.

Six stages, each producing something the next stage depends on. The decisions listed are the ones that change the shape of the outcome; they are agreed explicitly rather than absorbed into implementation detail.

  1. 01

    Establish the evidence base

    We inventory applications, interfaces, jobs, data stores and ownership, and confirm it against runtime evidence: logs, traces, query activity and job histories. Interviews explain intent; the system explains what actually happens.

    • Produce a dependency map and risk register before proposing any target architecture.
    • Record which behaviour is contractual, which is habit, and which is safe to retire.
    • Agree the business capabilities that must remain uninterrupted, and how that is measured.
  2. 02

    Define boundaries and seams

    Service boundaries are drawn from business capabilities and data ownership, not from the current module layout or the organisational chart. The target is a seam the organisation can cut along safely, not an idealised end-state diagram.

    • Apply a strangler pattern: new capability is built beside the core, then traffic moves incrementally.
    • Decide explicitly which functions are commodity and should be bought rather than rebuilt.
    • Document the anti-corruption layer that translates between old and new models.
  3. 03

    Build the transition layer

    A façade and compatibility adapters let consumers address a stable interface while the implementation behind it changes. Where possible the seam sits at an API or message boundary rather than inside a shared database.

    • Prefer routing at the API boundary over triggers and views inside the legacy schema.
    • Run shadow reads to compare old and new responses before trusting the new path.
    • Version contracts so downstream consumers migrate on a published schedule.
  4. 04

    Migrate data with proof

    Extraction, transformation and loading are staged, repeatable and measured. Every load is reconciled against the source with counts, checksums and business-level totals, and historical records remain available read-only.

    • No destructive step until reconciliation and business sign-off have passed.
    • Keep an immutable archive of historical records rather than transforming them in place.
    • Re-run migrations from a fixed snapshot so defects are reproducible.
  5. 05

    Validate and rehearse cutover

    The cutover is practised in a production-like environment, including the parts nobody enjoys: batch windows, downstream feeds, report regeneration and the route back. Go/no-go criteria and an abort decision are agreed in advance.

    • Replay realistic traffic and peak batch loads, not only functional tests.
    • Time the rollback and prove it on the same data volume as production.
    • Define the named decision maker for go/no-go, and the conditions that trigger abort.
  6. 06

    Retire and operate

    Decommissioning happens in dependency order, with credentials, jobs and network routes removed as each component is retired. New services carry ownership metadata, dashboards, alerts and runbooks before the programme closes.

    • Track change failure rate and lead time on the new path rather than project milestones.
    • Hold a defined stabilisation period with named support ownership.
    • Leave the internal team able to change and operate what was built.

Trade-offs

Alternatives we would consider, and what they cost.

Strangler versus rewrite

A rewrite can produce a cleaner model, but it concentrates risk, freezes delivery and depends on reconstructing behaviour that was never written down. A strangler pattern costs more in temporary seams and dual running, and is usually the cheaper way to stay in business throughout.

Shared database versus owned data

Sharing the legacy schema is fast to start and creates permanent coupling: every consumer must change when the core does. Service-owned data is slower to establish and is what makes independent change possible. Dual writes are not a migration strategy; they are a divergence generator.

Buy versus build

Payroll, tax calculation and statutory reporting are poor candidates for custom code. Workflows that differentiate the business usually are. The decision belongs to a business case, not to an engineering preference.

Architecture considerations

Components, boundaries and the connections that matter.

Reference architecture

Fig. 01 · illustrative

  1. Channels

    • Web portal
    • Partner API
    • Internal operations
    • Batch clients
    HTTPS · versioned contracts
  2. Transition

    • API façade
    • Routing & versioning
    • Compatibility adapters
    • Shadow-read comparison
    domain events · idempotent consumers
  3. Services

    • Domain services
    • Workflow service
    • Reporting projections
    • Integration adapters
    CDC · reconciliation jobs
  4. Data

    • Legacy core (read-only)
    • New domain stores
    • Change data capture
    • Historical archive
Illustrative reference architecture for this scenario. Boxes show responsibility boundaries rather than a specific product selection.

A transition architecture rather than a final one. The façade is temporary by design; domain services and their data stores are the durable parts, and the legacy core is reduced to a read-only source as capability moves.

A façade instead of database triggers

Routing at the interface keeps the legacy schema untouched and makes the transition observable. Triggers inside the old database hide behaviour exactly where it is hardest to test.

Change data capture over dual writes

Publishing changes from the log keeps one writer for each record and avoids the silent divergence that appears when two applications both believe they own the same row.

Projections for reporting

Reports are rebuilt from events and domain stores rather than reading the legacy schema directly, which is what allows the core to be retired in stages.

Technical considerations

  • Legacy architecture and technical debt assessment
  • Domain and service boundary design
  • Database migration, reconciliation and archiving
  • API design and contract versioning
  • Distributed systems and eventual consistency
  • Observability across old and new paths
  • Backward compatibility and transition planning
  • Deployment, rollback and batch sequencing

Expected outcomes

What the work is designed to achieve.

These describe the capabilities the solution is designed to leave behind. They are not measured results from a client engagement.

  • A change surface that is bounded by domain rather than by the age of the core.
  • Release cadence on new capability that no longer depends on the legacy release cycle.
  • Data continuity proven by reconciliation, not assumed from a successful load.
  • Integration through published contracts, so consumers are not coupled to internal tables.
  • Components that can be retired independently as their replacement proves itself.
  • Operational ownership and documentation that survive the programme.

No performance improvement, cost saving or delivery result is claimed. Metrics are only published when measured on a specific engagement with authorisation.

Related capabilities

Where this work sits in the company.

The scenario draws on one engineering division and is commercialised through a defined offering. Both describe the same capability from different starting points.

Next step

Facing a similar engineering challenge?

Describe the system, the constraint and the outcome you need. We will respond with a technical view of the options, including where we would start and what we would advise against.