Modernising how systems connect

Modernising legacy systems behind APIs, one piece at a time

The core system is twenty years old, written in a language few people still know, and it holds the data every new service needs. Replacing it is a multi year programme that keeps being postponed. Meanwhile every new channel, partner and AI project needs to reach it, and each one builds its own fragile way in.

How do you modernise a legacy system without replacing it all at once?

You put a gateway in front of it and give everything that needs it one modern API to call. The gateway handles security, rate limiting and translation between modern formats and old ones, so new channels, partners and agents use a clean interface while the old system carries on unchanged behind it.

From then on, modernisation is a series of small moves rather than one large one. A function is rebuilt as a new service, the gateway sends that route to the new service instead of the old system, and callers never notice. This is the strangler pattern, and Kong describes it as the low risk route to modernisation. Over time the old system shrinks until it can be switched off.

Modernising a legacy system behind Kong GatewayA mobile app, partners and AI agents call one modern API on Kong Gateway, which secures, rate limits and translates XML to JSON. Routes not yet moved go to the legacy core, routes already rebuilt go to new services. Over time the share of routes on the legacy core shrinks until every route runs on new services.Mobile appPartnersAI agentsKong GatewayOne modern API, secured and rate limitedXML to JSON with DatakitLegacy coreSOAP and XML,still running,shrinkingNew servicesrebuilt onefunction at a timeLegacyNewLegacyNewAll routes on new servicesnot yet movedmovedOVER TIME
The strangler pattern: callers see one stable API while the system behind is replaced a route at a time.

How Kong solves it

Kong Gateway as the front door to old and new

One modern interface

Kong Gateway presents REST and gRPC APIs to callers, with gRPC Gateway and gRPC Web plugins, whatever protocol the system behind it speaks.

Translation at the gateway

Datakit, an Enterprise plugin, orchestrates calls to several upstream systems and combines the results, and includes XML to JSON and JSON to XML conversion, so a modern caller never handles the old format.

Protection for old systems

Rate limiting keeps a system built for hundreds of requests from being flooded with thousands, and XML Threat Protection, JSON Threat Protection and Request Validator stop malformed requests before they arrive.

Modern security in front of old security

Callers authenticate with OAuth, OpenID Connect or mutual TLS at the gateway, and the Upstream OAuth plugin obtains the credentials the system behind needs, so old authentication is never exposed.

Route by route retirement

Each route can be switched from the old system to a new service with a configuration change, rolled back just as quickly, and held as code.

Ready for agents

Once a legacy function has a clean API, AI MCP Proxy can publish it as an MCP tool, so agents reach old systems through the same governed front door.

Sources: Kong, enterprise API strategy for legacy modernisation; Kong, Datakit plugin; Kong, Plugin Hub; Kong, AI MCP Proxy plugin.

What C4C does

A modernisation plan that starts paying back early

Official Kong partner in the UK

We map who calls the legacy system today and how, design the API that should replace those calls, and put Kong in front so every new caller uses it from day one. Then we agree with you which functions to rebuild first, based on cost, risk and how often they change, and move them route by route.

This is different from moving off another gateway, which our migration service covers. Here the gateway is new and the thing being modernised is the system behind it. As an official Kong partner in the UK we supply, implement and support Kong.

Talk to us

Open up the old system safely

  1. Tell us about the system: what it does, what it speaks, and who needs to reach it.
  2. We come back with the API design, how Kong fronts it, and a sensible order for rebuilding functions behind it.
  3. We implement the front door with your team and move routes across as each new service is ready.

We reply within one working day. Prefer email? Write to us at hello@c4cgroup.co.uk.

Prefer email? Write to us at hello@c4cgroup.co.uk.

Questions

Modernising legacy systems: frequently asked questions

What is the strangler pattern?

A way of replacing an old system gradually. A gateway sits in front of it, and as each function is rebuilt the gateway sends that route to the new service. Callers see one stable API throughout, and the old system shrinks until it can be retired.

Can Kong handle SOAP and XML systems?

Yes. Kong’s Datakit plugin converts between XML and JSON and can combine calls to several upstream systems, and XML Threat Protection guards the old system from malformed input, so modern callers use JSON while the system behind keeps its XML.

Will a gateway protect an old system from too much load?

Yes. Rate limiting at the gateway caps how many requests reach the system, per caller if needed, so a new channel or an AI agent cannot overwhelm a system designed for far less traffic.

Is this the same as migrating to Kong from another gateway?

No. Migration moves traffic from one gateway product to Kong. Legacy modernisation puts Kong in front of an old system so the system itself can be replaced gradually.

Related Kong use cases

Further reading