When you’re building a new platform, it’s easy to focus on what you’d build if you could start over. What should the architecture look like? Which technologies would you use? How would you structure the data?

Those are good questions. But there’s one that doesn’t get asked early enough.

How will we migrate traffic and data?

The answer can fundamentally change how you design a new platform.

What Does It Take to Move One Device?

#

In one modernization effort, we migrated client devices from a legacy platform to a new one. We had to do it live, with no downtime. To reduce risk, we wanted to start with individual devices, then move larger groups as we gained confidence.

That meant we needed a way to route requests from a specific device to the new platform while everything else stayed on the legacy platform.

Sounds straightforward, right?

One approach is percentage-based routing. You essentially split traffic randomly between the platforms. But with this approach, requests from the same device could end up in different places.

That’s a problem when a device needs to stay on the platform it’s been assigned to. In our case, that was important for data consistency.

We solved this by introducing a routing layer in front of both platforms. When a request arrived, the router used the device identifier to determine which platform should handle it.

This gave us deterministic routing. We could move a single device, validate the new platform’s behavior, and gradually migrate larger groups as we progressed.

The approach worked, but it introduced an architectural requirement: we needed to identify the device before choosing where to send its request.

Our gateway didn’t support that routing decision by default, so we had to extend it. Knowing our migration strategy early meant we could design that capability into the request path from the beginning.

Diagram Narratives
  • A client device sends its request to the router. The router uses the device ID to select either the legacy platform or the new platform.
  • Requests for the same device follow the same assignment until the migration changes that assignment.

What Data Does the New Platform Need?

#

Routing traffic is only part of the problem. The new platform also needs the data required to process that traffic.

In our case, we maintained transaction history for each device. Certain transaction types depended on that history, so moving a device meant making its existing records available to the new platform.

Some synchronization lag was acceptable for our use case, but the new platform needed sufficiently current transaction history before we moved a device’s traffic.

The challenge was that the two platforms used different database structures.

We built glue services to synchronize transaction records and transform them into the format each receiving platform expected.

Diagram Narratives
  • Devices still enter through the deterministic router. A separate glue service connects to both platforms.
  • The glue service copies transaction records in both directions and translates each record into the structure its destination expects.

Our new data model made sense for the platform we were building, and we used temporary glue services to bridge the differences between the two systems rather than changing that model to support migration.

But migration isn’t always that straightforward. The need to keep data synchronized can influence your data model and even your database choices.

Imagine the new platform generates its own transaction identifiers in a different format. When an update arrives from legacy, how does the new platform know which record to update?

Maybe you keep both the legacy identifier and the new one, or maintain a separate mapping table.

Both are valid choices, and both are much easier to accommodate when designing the initial data model.

I’ve also seen modernization efforts retain an existing database they wanted to replace because changing the data model would make migration significantly harder.

That’s a legitimate tradeoff, but it’s one you want to make deliberately, early in the design process.

If you wait until the new platform is built, you might discover that choices you made for the new architecture have made data synchronization a nightmare.

What Do Existing Clients Expect?

#

The same considerations apply to interfaces.

Imagine your existing customers communicate through an old XML interface, but the new platform exposes a REST or gRPC API.

You want to migrate those customers without requiring everyone to update their integrations at once.

An adapter can help bridge that gap.

It accepts requests through the existing XML interface, translates them into calls to the new API, and returns responses in the format customers expect.

Diagram Narratives
  1. The router sends the client to an interface adapter. The client can continue speaking the legacy XML interface.
  2. The adapter translates the request into REST or gRPC for the new platform and returns the response in the client’s expected format.

That allows you to modernize the platform behind the interface without forcing every customer to migrate their integration immediately.

But compatibility goes beyond translating XML into another format.

What happens when the new platform returns a different error? Does the customer expect a particular response structure or behavior?

Those are existing contracts the adapter may need to honor.

Once again, the migration strategy influences the architecture. You need somewhere for that translation to happen, and you need to understand which legacy behaviors must remain supported during the transition.

Final Thoughts

#

When you’re designing a new platform, don’t just think about the destination. Think about how you’re going to get there.

Once you have a reasonable idea of what the new platform needs to do, pick one device, customer, or workload and walk through its migration.

Where does its next request go? What data does the new platform need? How will existing records be identified? What does the client still expect to work?

Those questions can influence your routing, data model, interfaces, and even how you break down the system.

Migration isn’t just a deployment activity at the end of modernization. It should be part of platform design from the beginning.