Big-bang IT replacement is one of the most reliable ways to lose public money slowly, then all at once. The pattern is familiar enough to have its own shorthand: a legacy system is declared unfit for purpose, a replacement is commissioned at national scale, years and hundreds of millions pass, and the result is either a quiet U-turn back to the old system or a public inquiry into why the new one never worked. The National Audit Office has catalogued enough of these to fill a shelf. The lesson rarely drawn from them is the right one.

The usual response to a failed big-bang programme is “pilot it first.” That’s correct, but incomplete, and the gap in it is where most of the money still gets lost. A pilot answers one question: did the new system work for the group it was tested on? It doesn’t answer the question that actually matters for a national programme: will it still work when it’s ten times, or a hundred times, the size? Those are different questions, and conflating them is how a successful pilot turns into a failed national rollout.

An architecture lesson from outside government

I’ve spent the last two years leading a small team (a handful of engineers, a couple of QA, one devops) replacing a legacy system built the old way: an n-tier application, Java application servers, scaling achieved by buying bigger servers as load grew.

The replacement is architected differently from the ground up: an event-driven microservice system, where services communicate by publishing and reacting to events (choreography) rather than being directed by a central controller (orchestration), with reads and writes to the data layer deliberately separated (a pattern called CQRS, Command Query Responsibility Segregation) so each can be scaled and optimised independently. The legacy system it replaces was built on a NoSQL document store, but modelled against it as though it were relational: normalised, joined, queried the way you’d query tables rather than documents. That meant it inherited the rigidity of a relational schema without gaining any of a relational database’s actual strengths. The replacement scales horizontally, adding more instances as demand grows, rather than vertically, where the only answer to “we need more capacity” is a bigger, more expensive box.

Before switching any real customer onto it, we ran the new system in parallel against one existing client’s live data and traffic, alongside the old system, comparing results. That client was modest in size: tens of thousands of users, not the full scale we ultimately need to support. On paper, that looks like a small pilot. It wasn’t, and the difference matters.

Why the scale of the test doesn’t have to match the scale of the goal

The parallel run wasn’t testing “does this system work for this many users.” It was testing the mechanism by which the system handles more users (the event choreography, the horizontal autoscaling, the separation of read and write paths) at whatever scale was affordable and safe to test with real data. Because that mechanism is the same one that will carry the system to ten times the load, confidence gained at modest scale transfers upward without needing to be re-earned at each step. We didn’t need a shadow environment the size of the eventual rollout to get a valid signal. We needed a smaller environment built the same way the full-scale one will be.

That’s a materially different, and materially cheaper, thing to ask for than “prove it works at the scale we eventually need.” A pilot built the old way (a smaller version of a system that will need fundamental rework to scale) tells you almost nothing about national viability. A pilot built to scale from day one tells you a great deal, at a fraction of the cost, because you’re validating the architecture rather than the headcount it was tested on.

Why this is a procurement question, not just an engineering one

This distinction should change what a “successful pilot” is required to demonstrate before a national programme commits its full budget. The question shouldn’t be “did the pilot work?” It should be: was the pilot built on the same architectural principles (the same approach to scaling, the same separation of concerns) that the national system will need, or is it a smaller, differently-built thing that will require redevelopment to scale at all? The first kind of pilot is evidence. The second is theatre.

It should also change how government balances national direction against local flexibility, a tension at the heart of most national technology programmes, including the ones now being considered for policing. A system designed to scale horizontally and to partition shared functionality by use rather than by department doesn’t force a choice between one rigid national platform and forty-three incompatible local ones. It allows a shared backbone (one event infrastructure, one data and analytics capability) with local flexibility sitting on top of it, because the architecture was built to support many consumers at variable scale from the outset, rather than retrofitted to cope with them later.

None of this is exotic engineering. Event-driven architectures, CQRS, and horizontally-scaling infrastructure are mainstream, well-understood patterns, not a novel bet. What’s missing in most public-sector procurement isn’t access to the technology. It’s a habit of asking, before signing off a national programme, whether the proof-of-concept was built to the same principles as the thing it’s meant to justify. If it wasn’t, the pilot proves far less than the business case suggests, however well it performed on the day.

The test I’d apply

Before any national technology programme moves from pilot to full commitment, someone independent of the delivery team should be able to answer one question in plain terms: was this piloted at small scale using the same architecture that will carry it at large scale, or was it piloted using a different, simpler system that still needs to be redesigned before it can scale? If the honest answer is the second, the pilot has told you the system can work, not that the programme, as costed, will.