# Running Two Systems at Once During a Rewrite | gen2.dev

> Running two systems at once doubles the cost and splits the team. How to staff Gen 1, stop the feature-parity treadmill and keep the overlap short.

Source: https://gen2.dev/guide/running-two-systems/

---

Field Guide

# Running two systems at once

From the first day of Gen 2 work to the day Gen 1 is switched off, the organization pays for two systems. Most plans budget for the build and forget the overlap.

![Slide: Gen 1 and Gen 2 on a timeline, with the overlap where both are paid for highlighted.](https://gen2.dev/img/running-two-systems.png)

A replacement project does not swap one system for another. For months or years it adds a second system next to the first. Both need hosting, both need people, and both can wake someone at night.

That overlap is the price of replacing a system safely. The job is to pay it knowingly and for as short a time as possible.

## What the overlap costs

Cost

What doubles

Hosting and licenses

Two production stacks, two sets of vendor contracts

On-call

Two rotations, or one rotation that has to know two systems

Every business change

A new tax rule or price change is made twice, or made once and owed in the other system

Data

Sync jobs, reconciliation, and someone to chase the mismatches

Transitional code

Routers, adapters and sync, all built to be thrown away

Support and training

Two sets of screens, two sets of answers

Martin Fowler says of the transitional code: "While this may appear to be a waste, the reduced risk and earlier value from the gradual approach outweigh its costs." That holds only if the overlap ends.

Every line in that table is a cost per month, so the lever is duration. If the overlap costs $90,000 a month, a six-month slip is $540,000 that appears in nobody's estimate. Put that monthly figure into the [rewrite cost calculator](https://gen2.dev/rewrite-cost-calculator/) before the project starts, not after it slips.

## Who staffs Gen 1

Gen 1 is still production. It is the system earning the money while Gen 2 is being built. Five rules:

1.  **Give it a named owner** and a named on-call rotation. The owner can say no to changes.
2.  **Keep strong engineers on it.** Gen 1 is where the incidents happen, and where the knowledge Gen 2 needs is stored.
3.  **Put Gen 1 people in Gen 2 design reviews.** They know what the old system really does.
4.  **Time-box the assignment.** Each person on Gen 1 has an end date and a route into Gen 2 work.
5.  **Describe the job as real work:** keep it stable, write down its behavior, build the seams, plan its removal.

## The feature-parity treadmill

Fowler states the problem in one line: "Replacing a serious IT system takes a long time, and the users can't wait for new features." So Gen 1 keeps changing, and Gen 2 is chasing a target that moves.

Matching the old system is harder than it looks even when it stands still. Ian Cartwright, Rob Horn and James Lewis write that "people greatly underestimate the effort required," and that those who have tried it call it the "feature parity trap." A Gen 1 that keeps moving makes it worse.

Ways off the treadmill:

1.  **Do not aim for parity.** The same authors point out that legacy features are often unused, and that it "very rarely makes sense to replicate them 'as is'." List features by measured usage and cut from the bottom.
2.  **Stop the bleeding.** Will Larson's rule for migrations: "Start by stopping the bleeding, which is ensuring that all newly written code uses the new approach." New capabilities are built in Gen 2 only.
3.  **Set a rule for Gen 1 changes.** Security, legal and outage fixes go in. Everything else waits for Gen 2. One person rules on exceptions.
4.  **Price every exception.** A feature added to Gen 1 is added to the Gen 2 backlog the same day, so the cost is visible when the request is made.
5.  **Move whole slices.** Once a slice lives in Gen 2, its features exist in one place only. That is the main reason to use the [strangler fig pattern](https://gen2.dev/guide/strangler-fig/).

A full freeze of Gen 1 is believable for weeks, not for years. The [four options](https://gen2.dev/guide/rewrite-vs-refactor/) page treats a freeze as a condition for a clean rewrite for that reason.

## Splitting the team without an A team and a B team

The usual split sends the best people to Gen 2 and leaves the rest to "maintain legacy." The people left behind read the signal. Some leave, and the knowledge of how Gen 1 works leaves with them. Meanwhile the Gen 2 team builds without anyone who knows what the old system does.

Cartwright, Horn and Lewis describe failed replacement programs that were "treated as orthogonal to any BAU" work, where the gap between the program plan and what the business needed grew the longer the program ran.

Structure

How it works

Fits when

Split by business area

Each team owns its area in both systems and moves it across

The default. People must work in both stacks

Rotation

Engineers take fixed terms on Gen 1 duty

The group is small. Costs some context switching

Separate teams, one goal

Two teams, both measured on the Gen 1 switch-off date

The stacks are too different for one person to hold

Whichever structure is chosen:

-   One backlog, one roadmap, one planning meeting.
-   The same titles, pay bands and promotion criteria. Shrinking Gen 1 safely counts toward promotion.
-   The Gen 2 team carries the pager for what it has shipped.
-   Removal is the result that gets celebrated. Larson says most of the recognition "should be reserved for its successful completion."

## Keeping the overlap short

1.  **Set the switch-off date before the build starts,** and publish it.
2.  **Do the hard slices early.** Larson again: "Don't start with the easiest migrations, which can lead to a false sense of security."
3.  **Report the overlap cost every month,** in dollars, in the same report as progress.
4.  **Measure Gen 1 by what is left:** endpoints, tables, scheduled jobs, active users. If the numbers are not falling, the project is not moving.
5.  **Limit work in progress.** A slice is done when it has been removed from Gen 1, not when it runs in Gen 2.
6.  **Fund the removal as part of the project.** Software Engineering at Google says the teams doing it "should have removal as their primary goal, not just a side project of some other work." The steps are in [Killing Gen 1](https://gen2.dev/guide/killing-gen-1/).

## When not to use it

Running two generations is the price of a gradual move, and sometimes it is not worth paying.

-   **The system is small enough to move in one window.** Pay once and stop.
-   **No one can staff Gen 1.** An unmaintained half is worse than a faster switch.
-   **Data cannot be kept consistent across both.** Move that data in one step instead.

## How it goes wrong

-   **Gen 1 is orphaned.** Everyone moved to Gen 2, and the first serious incident has no one who understands it.
-   **Gen 1 never stops growing.** Every request is urgent, every exception is granted, and Gen 2 falls further behind each quarter.
-   **Parity becomes the goal.** Gen 2 rebuilds features nobody has used in years, and inherits the old design with them.
-   **The overlap has no budget line.** The double cost shows up as a general overrun, and nobody can say what a month of delay costs.
-   **The two teams stop talking.** Gen 2 is designed by people who have never been on call for Gen 1. The [second-system effect](https://gen2.dev/guide/second-system-effect/) does the rest.

The [Python 2 to 3 case file](https://gen2.dev/cases/python-2-to-3/) is what a long overlap looks like from the outside. The [Firefox Quantum case file](https://gen2.dev/cases/firefox-quantum/) shows the old and the new shipping together in one product.

## What to take from it

-   The overlap is a monthly cost. Know the number, and report it.
-   Gen 1 needs an owner, strong engineers and a rule for what may still change.
-   Aim at what users need now, not at parity with everything Gen 1 ever did.
-   Split teams by business area, not by generation.
-   A slice is finished when it is gone from Gen 1.
-   Put the switch-off date in the plan on day one.

## Sources

1.  [Martin Fowler - Strangler Fig (revised August 22, 2024)](https://martinfowler.com/bliki/StranglerFigApplication.html)
2.  [Ian Cartwright, Rob Horn and James Lewis - Feature Parity (July 27, 2021)](https://martinfowler.com/articles/patterns-legacy-displacement/feature-parity.html)
3.  [Ian Cartwright, Rob Horn and James Lewis - Patterns of Legacy Displacement](https://martinfowler.com/articles/patterns-legacy-displacement/)
4.  [Will Larson - Migrations: the sole scalable fix to tech debt (April 15, 2018)](https://lethain.com/migrations/)
5.  [Software Engineering at Google - Chapter 15, Deprecation](https://abseil.io/resources/swe-book/html/ch15.html) - written by Hyrum Wright, edited by Tom Manshreck

Last updated November 29, 2026.

## Field Guide

-   [Rewrite vs refactor](https://gen2.dev/guide/rewrite-vs-refactor/)
-   [The 7 Rs](https://gen2.dev/guide/seven-rs/)
-   [Characterization tests](https://gen2.dev/guide/characterization-tests/)
-   [Estimating a rewrite](https://gen2.dev/guide/estimating-a-rewrite/)
-   [Strangler fig pattern](https://gen2.dev/guide/strangler-fig/)
-   [Monolith to microservices](https://gen2.dev/guide/monolith-to-microservices/)
-   [Lift and shift](https://gen2.dev/guide/lift-and-shift/)
-   [Second-system effect](https://gen2.dev/guide/second-system-effect/)
-   [Branch by abstraction](https://gen2.dev/guide/branch-by-abstraction/)
-   [Anti-corruption layer](https://gen2.dev/guide/anti-corruption-layer/)
-   [Parallel run](https://gen2.dev/guide/parallel-run/)
-   [Shadow traffic](https://gen2.dev/guide/shadow-traffic/)
-   [Dual write and data migration](https://gen2.dev/guide/dual-write/)
-   [Expand and contract](https://gen2.dev/guide/expand-and-contract/)
-   [Data migration tools](https://gen2.dev/guide/data-migration-tools/)
-   [The cutover](https://gen2.dev/guide/cutover/)
-   [Feature flags and dark launches](https://gen2.dev/guide/feature-flags-and-dark-launches/)
-   [Big-bang cutover](https://gen2.dev/guide/big-bang-cutover/)
-   [API versioning](https://gen2.dev/guide/api-versioning/)
-   [Running two systems](https://gen2.dev/guide/running-two-systems/)
-   [Killing Gen 1](https://gen2.dev/guide/killing-gen-1/)
-   [Rewriting a mobile app](https://gen2.dev/guide/rewriting-a-mobile-app/)
-   [Selling a rewrite](https://gen2.dev/guide/selling-a-rewrite/)
-   [AI-written code](https://gen2.dev/guide/ai-written-code/)

## Should we rewrite it?

Sixteen questions about your system. A recommendation, and the reasoning behind it.

[Start the questions](https://gen2.dev/should-we-rewrite/)
