Strangle it instead: living with a 2020 monolith
Why we never did the Big Bang rewrite, how we pulled modules out of a 2020 monolith one ceiling at a time, and the rule I'd give any team staring at a rewrite.
In 2020, I wrote the first lines of our monolith. It was fast, it worked, and it got us off the ground.
That is the part nobody puts in the architecture diagram. The monolith was not a mistake we made because we didn’t know better. It was the right call for a team that needed to ship, sell, and find out what customers actually wanted. A monolith is how you buy speed when you can’t afford anything else.
Then we hit 40 clients. And the thing that got us off the ground started to feel like the thing holding us down.
The meeting where the rewrite was on the table
Every growing product has this meeting. Someone draws the new system on a whiteboard. Clean services. Clean boundaries. Clean everything. The old code gets described the way people describe a house they’re about to move out of.
The pitch for a Big Bang rewrite always sounds the same:
- We’ll freeze features for a few months.
- We’ll rebuild it properly this time.
- We’ll switch over in one go, and then everything will be fast.
It’s a beautiful plan. It is also a suicide mission for a growing startup.
Why the rewrite lost
A Big Bang rewrite asks you to run two products for months and sell only one of them. The old system still pays the bills, so it still needs fixes. The new system has no users, so it has no truth. Every week the two drift further apart, and the cutover date moves to the right.
And the customers don’t care. Not one of our 40 clients was asking for microservices. They were asking for the thing they paid for to keep working, and to get a little better every month.
So we said no to the rewrite. Not “no, never”. No, not like that.
Strangle it instead
The Strangler Fig pattern is named after a plant that grows around a tree, slowly, until it can stand on its own. In software it means this: you don’t replace the old system. You route one piece of it at a time to something new, and you keep the lights on the whole way.
The rule we used for which piece was simple. We didn’t pick modules because they were ugly. We picked them because they hit a ceiling.
- Leads Management went first. It was the module that choked first, so it earned its own home.
- Workflows came next, for the same reason.
- Along the way, the old callback hell got rewritten as async/await, one path at a time, as we touched it. Not in a “modernisation sprint”. As part of the work.
Everything else stayed in the monolith. Untouched. Still earning.
What it took
No dedicated migration team. No feature freeze. Zero downtime.
That last one is the whole point. Swapping the engines mid-flight is harder per step than a rewrite. You need routing you can trust, data that can live in two places for a while, and the discipline to finish one module before you start the next. But no single step can sink you. If a strangled module misbehaves, you route back. Try doing that with a Big Bang cutover at 2 a.m. It’s the same thinking as capping failover: when something breaks, keep the damage small and easy to undo.
The cost is honesty about scope. Some modules are still in the monolith years later. That isn’t failure. That’s the system telling you they haven’t hit their ceiling yet.
The part people get wrong
People hear “strangler fig” and think it’s a migration technique. It’s not. It’s a way of deciding when to spend engineering time on architecture: only when the system, or a client, forces your hand.
You don’t build for 100M transactions on Day 1. You build for Day 1, and then you have the guts to strangle your own creation when Day 1,000 arrives.
Most teams get one of those two right. They either over-build on Day 1 (Resume-Driven Development, Kubernetes to toast bread) or they freeze on Day 1,000 because the monolith is “too big to touch”. The skill is doing both, in that order, and knowing which day it is.
My rule: if your architecture isn’t evolving, it’s decaying. But evolve it one ceiling at a time.
So, honestly: what’s the module in your system that has already hit its ceiling, and what are you waiting for before you strangle it?
Get the next one by email.
Sent when a post is ready. Never filler.
Free / One email per post / Unsubscribe in one click
Next issue // when it is ready
No filler.
One lesson from production per issue. What broke, why, and the rule I took from it. No roundups. No launch-day cheerleading.