Skip to content

The core system nobody dares to change

Aspect Aspect
Typical organization A bank, insurer, manufacturer or public agency whose core records live on a mainframe or a decades-old ERP
Symptoms Every new channel or product waits months for core changes; few people understand the system; vendor or skills risk
Root cause New needs are met by changing the core itself, so it becomes ever more customized and fragile
Usual fix Wrap the core with APIs, copy its data out for reads, and move capabilities out one at a time
Patterns API-led connectivity, change data capture, strangler fig, event-driven
  • A new mobile feature needs a change on the mainframe, and the next release window is months away.
  • The few people who understand the core system are close to retirement.
  • Every integration is a custom file transfer or screen-scraping job.
  • Read traffic from new channels is pushing the core toward its capacity, and its costs up.
  • The ERP is so customized that upgrading it is a multi-year project.

Core systems are reliable and hold the most valuable data, so every new need gets built into them. Each customization makes the next one harder and the system harder to upgrade or replace. A “big bang” replacement looks tempting, but replacing everything at once is among the riskiest projects an organization can take on.

Option When it fits Cost and risk
Wrap it with APIs New channels need core functions; the core itself works Low to medium. Quick value; the core stays as it is
Copy data out for reads with change data capture Read load or reporting is straining the core Medium. Copies are slightly behind the core
Replace capability by capability (strangler fig) Specific functions need to change often Medium to high. Long, but each step is reversible
Re-platform the whole system, such as emulating the mainframe on new hardware Hardware or license cost is the main problem Medium. Saves cost, but the code stays as hard to change
Big-bang replacement Rarely; only when the core is truly unsupportable Very high. Long freeze on change and a risky cut-over
  1. Stop adding to the core. Agree that new capabilities are built outside it unless there is no alternative. For an ERP, this is often called keeping a “clean core”.
  2. Put an API layer in front of it, so channels call stable APIs instead of the core’s own interfaces.
  3. Stream changes out with change data capture, so new applications and reports read a copy instead of the core.
  4. Move one capability at a time, starting with one that changes often and has few dependencies. Route its traffic to the new service and keep the core as a fallback until the new path is proven.
  5. Shrink the core as capabilities move, until what remains can be retired or kept as a stable system of record.
Building around a legacy core1. New channels call a stable API layer, never the core directly. 2. New capabilities are built outside the core. 3. Reads are served from a copy, taking load off the core. 4. Change data capture streams every change in the core to the read store. Writes still go to the core (dashed line) until each capability has moved.Legacy core Web and mobilenew channels API layerstable interfaces New capabilitybuilt outside the core Read storea copy for reads Change data capturestreams every change Mainframe or ERPsystem of record Core functionsshrinking over time1234
Building around a legacy core Channels use APIs, reads come from a copy, and capabilities move out one at a time while the core keeps running.
  1. New channels call a stable API layer, never the core directly.
  2. New capabilities are built outside the core.
  3. Reads are served from a copy, taking load off the core.
  4. Change data capture streams every change in the core to the read store. Writes still go to the core (dashed line) until each capability has moved.
  • Two systems of record for a while. During each move, be explicit about which system owns each piece of data.
  • Copies lag behind. Read stores fed by change data capture are seconds or minutes behind; some decisions must still read the core.
  • The API layer can become a new bottleneck if every change to it needs a central team.

New features ship without core release windows, read load and cost on the core fall, and the list of capabilities still inside the core shrinks each quarter.

  • Airbnb moved functions out of its monolith one at a time behind the existing interface.
  • Netflix kept both worlds running until the last piece had moved.
  • HealthCare.gov shows how hard large integrations with many existing systems can be.

Written and edited by Abhinav Taduka, enterprise software architect.