# Software Migration Glossary: Gen 1 to Gen 2 | gen2.dev

> Plain definitions of the terms used in software rewrites and migrations: cutover, strangler fig, dual write, shadow traffic, canary release and more.

Source: https://gen2.dev/glossary/

---

Glossary

# The words used in a Gen 2 project

Short definitions, each with the page that covers it properly.

![Slide: a glossary of Gen 2 project words: cutover, strangler fig, dual write, shadow traffic, canary release and rollback. One meaning for every word.](https://gen2.dev/img/glossary.png)

Gen 1

The system you run today, usually the one that earns the money. [Killing Gen 1](https://gen2.dev/guide/killing-gen-1/)

Gen 2

The system meant to replace Gen 1: a rewrite, a replacement product or a re-platformed version. [Rewrite vs refactor](https://gen2.dev/guide/rewrite-vs-refactor/)

Anti-corruption layer

A boundary that translates between two systems so the new one does not inherit the old one's data model. [The anti-corruption layer](https://gen2.dev/guide/anti-corruption-layer/)

API versioning

Offering old and new forms of an API side by side, with a date for retiring the old one. [Versioning an API](https://gen2.dev/guide/api-versioning/)

Backfill

Copying the records that existed before dual writing began into the new store. [Dual write](https://gen2.dev/guide/dual-write/)

Big bang cutover

Switching everyone from Gen 1 to Gen 2 at once. [Big bang cutover](https://gen2.dev/guide/big-bang-cutover/)

Branch by abstraction

Putting an abstraction in front of a part of the code, building the new part behind it, then switching. [Branch by abstraction](https://gen2.dev/guide/branch-by-abstraction/)

Canary release

Sending a small share of users to the new version first and rerouting them back if it misbehaves. [Feature flags and dark launches](https://gen2.dev/guide/feature-flags-and-dark-launches/)

Characterization test

A test that records what the existing code actually does, so a change or replacement can be compared with it. Also called a golden master test. [Characterization tests](https://gen2.dev/guide/characterization-tests/)

Cutover

The moment the new system takes over from the old one. [Cutover](https://gen2.dev/guide/cutover/)

Dark launch

Running new back-end behavior with real requests while users see no change. [Feature flags and dark launches](https://gen2.dev/guide/feature-flags-and-dark-launches/)

Dual write

Writing every change to both the old and the new data store while a migration is under way. [Dual write](https://gen2.dev/guide/dual-write/)

Expand and contract

Changing an interface in three steps: add the new form, move every user to it, then remove the old one. Also called parallel change. [Expand and contract](https://gen2.dev/guide/expand-and-contract/)

Feature flag

A setting that changes which code runs without deploying new code. [Feature flags and dark launches](https://gen2.dev/guide/feature-flags-and-dark-launches/)

Parallel run

Running the old and new systems on the same input and comparing their results before trusting the new one. [Parallel run](https://gen2.dev/guide/parallel-run/)

Rollback

Returning to the previous version after a switch goes wrong. It needs the old system and its data to still be usable. [Cutover](https://gen2.dev/guide/cutover/)

Second-system effect

The tendency of the successor to a small, successful system to arrive overbuilt and late. [The second-system effect](https://gen2.dev/guide/second-system-effect/)

Shadow traffic

A copy of live requests sent to the new system, whose answers are compared and thrown away. [Shadow traffic](https://gen2.dev/guide/shadow-traffic/)

Strangler fig

Replacing a system one slice at a time behind a router while it keeps running. [Strangler fig](https://gen2.dev/guide/strangler-fig/)
