BLOG / DEEP DIVES

Migrating 18,000 companies with zero downtime: a post-mortem

How we moved a bank's clients onto a new payment platform in waves with automatic rollback — and what did not go to plan. An honest breakdown with numbers and conclusions.

When a bank arrives with “replace our payment portal, but payments must never stop”, the first instinct is to decline. 18,000 companies push billions of rubles through the system every day, and a migration mistake is not a bug report — it is a call from the central bank.

We agreed — on the condition that the migration would run in waves, with automatic rollback. Here is how it was built and the three things we would do differently.

Why not the “big switch”

The classic scenario is to build the new system, pick a quiet night and cut everyone over at once. The problem is that a payment system has no quiet night: companies pay around the clock, and tax days create peaks at ×3 of the average.

Instead we split clients into 9 waves of roughly 2,000 companies. The grouping criterion was not the alphabet but the payment activity profile: the first waves gathered companies with simple scenarios, the last ones holdings with multi-bank statements and EDI.

“Every wave lived in dual writing: the payment went through the new system while the old one kept a mirror copy — ready to take the client back within 90 seconds.”

Automatic rollback: the insurance that fired

On the third wave, monitoring caught a spike in signature errors among clients of one certificate authority. The system automatically returned 214 companies to the old platform — before the bank's support team had finished reading the alert. Clients noticed nothing.

FIG. 1 — NINE MIGRATION WAVES AND ONE AUTOMATIC ROLLBACK ON THE THIRD

What we would do differently

First, dual writing should have been switched on two weeks before the first wave rather than three days — we were catching reference data mismatches live. Second, the bank's support team should have joined the reviews from wave one: their knowledge of the clients would have saved us a week of classification work. Third, communication: the email saying “you have been moved to the new system” generated more requests than the migration itself.

The bottom line: 6 months from discovery to the final wave, 0 minutes of payment downtime, ×2.4 growth in online payments in year one. The detailed numbers are in the Vetra Bank case study.

DEEP DIVESFINTECHMIGRATIONS
Telegram