Legacy modernization services, one slice at a time.
We find out what the old system really does, put tests and monitoring around it, then move one capability at a time while old and new run side by side. Published: an 85,000-line Rails monolith modernized in 14 weeks with zero downtime, deploys up from 2 a week to 18.
What legacy modernization services include, what they cost and how long they take.
Legacy modernization services move an old application onto current code, frameworks and infrastructure while it keeps serving customers. Gigabit works in slices: a written assessment, tests and monitoring around today's behaviour, then one capability at a time. The published engagement modernized an 85,000-line Rails monolith in 14 weeks for $74,000, with zero downtime.
Big-bang rewrites fail because the old system keeps changing while the new one is built, and nobody can prove the new one does everything the old one did. Replacing in slices, the strangler fig pattern Martin Fowler named, keeps both running and retires old code only when the numbers match. AI agents help most at the start: reading old code, drafting characterization tests and writing the documentation nobody wrote.
Four ways to modernize a legacy application, and when each fits.
Each part of a system can get a different answer. The assessment names one per component, with the reason.
| Approach | Risk | What changes | When it fits |
|---|---|---|---|
| Big-bang rewrite | Highest | A new system is built beside the old one and switched on in one cutover. The old one keeps changing meanwhile, and the gaps show only at cutover. | The system is small, well understood and rarely changes. |
| Replace in slices (strangler fig; what the published work did) | Lowest per step | New services take over one capability at a time behind the same interface, each run beside the old code with a tested rollback. Old code retires as each slice matches. | A system that runs revenue, cannot stop, and has parts that block releases. |
| Upgrade in place | Moderate | The design stays; language, framework and dependency versions move to supported releases. Tests go in first, so breaking changes surface there, not in production. | The design is sound, but versions are out of support or a security review flags them. |
| Replace with a product, or retire | Low build risk | A SaaS product takes over the job, or a part nobody uses is switched off. The work is moving data and retraining people. | A product now does the job, or nobody uses it. The assessment names these first. |
When the code is fine and only where it runs must change, moving it is cheaper than modernizing it; read cloud migration services.
What the published modernization, and the closest published work, cost.
The first row is a modernization. The second is not: it is team work inside a current codebase, shown for the test safety net a modernization starts with. Your system gets its own fixed price at the end of the assessment.
| Project | What changed | Cost | Time | Result |
|---|---|---|---|---|
| Zero-Downtime Heroku to AWS Migration | An 85,000-line Rails monolith processing $14M a month, with five services extracted one at a time in order of risk, notifications first and the payment core last | $74,000 | 14 weeks (2-week assessment + 12-week migration) | $60,000+ annual infrastructure savings, growing with volume |
| 3 Embedded Engineers, 2.3x Sprint Velocity | Not a modernization: three engineers added to a current React, TypeScript and NestJS codebase, whose 240+ Cypress tests lifted coverage from 34% to 71% and cut regression bugs 60% | $17,300/month (3 engineers) | First PRs in 5 days; full sprint velocity in 3 weeks | $392,400 annual savings vs US hiring (65%) |
The price, time and result are what each client paid and measured, from the published case studies. For a line-by-line breakdown, read the guide to custom software development cost, or see software development pricing for the fixed-price services.
What the work covers, from discovery to retirement.
A safety net first, then replacement in slices you can watch and reverse.
System discovery
A written assessment of what the application actually does, undocumented rules included, from the code, the logs and the people who use it.
Safety net first
Characterization tests, monitoring and a deploy pipeline around today's behaviour, so every change is checked against the old system.
Strangler fig extraction
New services take over one capability at a time behind the same interface, with traffic shifted gradually and a rollback at every step.
Framework and version upgrades
Language and framework upgrades, dependency clean-up and security patches for systems several versions behind.
Database untangling
Shared databases split by job. In the published work, moving reporting to a read replica cut primary database CPU from 78% to 31%.
AI-assisted code archaeology
Agents that map dependencies, explain old modules and draft tests, with a senior engineer reviewing every change.
How legacy modernization runs: discover, protect, replace, retire.
Discover
A written assessment maps the code, schema and traffic and ranks each part by risk. The published one took two weeks and found reporting using 60% of database CPU at month-end.
Protect
Tests, monitoring and a deploy pipeline go around the system as it is, before any code moves. In a current HR tech codebase (team work, not a modernization), 240+ Cypress tests cut regression bugs 60%.
Replace in slices
Low-risk parts move first. The published order: notifications, reporting, onboarding, webhooks, then the payment core behind a tested rollback.
Retire
Old code goes once the new path matches it under real traffic: the payment core ran 48 hours of shadow traffic across 12,000 transactions at 0.00% discrepancy.
Published prices, mapped to the job.
Every price here is the same one on the pricing page. Work with no published price gets a fixed price in writing before it starts.
Figures in the notes are what past clients paid, from the published case studies; they show the range, not a rate card. Work with no natural end, such as ongoing development, is priced per engineer per month with no lock-in.
When to hire us for this, and when not to.
- The system runs revenue, and nobody wants to touch it.
- Releases are rare and risky.
- The people who understand it are leaving or have left.
- A security review flags versions that are out of support.
- The system is stable, cheap to run and rarely changes. Leave it alone.
- A SaaS product now does the job. Configure that instead.
- You need everything rebuilt in one go by a fixed date. We will tell you why that fails.
Legacy modernization, answered
What are legacy modernization services?
Legacy modernization services move an old application onto a current architecture, framework and infrastructure so it is cheaper to run and safer to change. They cover the assessment, tests around today's behaviour, replacing or upgrading parts one at a time, and switching off old code once the new code matches it.
What is application modernization?
Application modernization is the same work applied to one application: upgrading or replacing its code, framework, database and deploy pipeline. Application modernization services choose per component between a rewrite, replacement in slices, an upgrade in place, or a product that replaces it.
How much do legacy modernization services cost?
Our published modernization cost $74,000 over 14 weeks, for an 85,000-line Rails monolith processing $14M a month; its assessment cost $6,000. Smaller systems cost less, and the assessment ends in a fixed price. Ongoing slice-by-slice work can run on an embedded team at $2,490–$4,900 per engineer per month, so you can stop after any slice.
Should we rewrite or refactor a legacy application?
Usually neither in full. Replace the parts that block the business behind the same interface, upgrade the parts that are sound but out of date, and leave stable parts alone. A full rewrite only makes sense when the system is small, well understood and rarely changes.
How long does legacy modernization take?
The published modernization took 14 weeks from assessment to handover. The first slice, the notification service, moved in weeks 5 to 8, after the assessment and the delivery foundation. Larger systems take longer, but each slice reaches production on its own, so the value arrives before the end.
What is the strangler fig pattern?
The strangler fig pattern replaces a legacy system gradually: new code takes over one capability at a time while the old system keeps running, until the old one can be switched off. Martin Fowler named it after a fig that grows around its host tree. The published Rails modernization used it, with the payment core moved last.
Can AI help modernize legacy code?
Yes. AI agents read old code, explain undocumented rules, map dependencies and draft characterization tests and documentation. A senior engineer still designs the target and reviews every change. Writing the system down pays off on its own: in the HR tech engagement, the technical summaries engineers wrote in their first days on the codebase were documentation the internal team had never written.
Do you modernize mainframe or COBOL systems?
Our one published modernization is a Ruby on Rails monolith; no mainframe or COBOL project is published. Replacing in slices works wherever requests can be routed between old and new code. The assessment says whether that holds for your system, and whether we are the right team for it.
Often scoped alongside.
Cloud migration services
Zero-downtime moves to AWS, Azure or Google Cloud, when only the hosting must change.
Cloud migration servicesWeb app development company
New systems built to a fixed quote, when nothing old is worth keeping.
Web app development companyDedicated development team
Senior engineers inside your sprints, for modernization with no fixed end.
Dedicated development teamFrom the field notes
Stuck with a system nobody wants to touch?
Tell us what it runs and what it is built on. We reply with how we would protect it first and which slice to replace first.



