Skip to content
Star17Hire me
01 / StartXP 0%
Sep 7, 2026 · 1 min · by Ahmed Mamdouh

Splitting a monolith: what it actually bought us

#microservices#nodejs#system-design

On a platform I worked on, we split a monolith into services and p95 latency dropped about 40 percent. That's the least interesting result. What we actually got was failure isolation, and what it cost us is the part conference talks leave out.

What stopped happening

One bad deploy used to take the whole product down. After the split, a bad deploy took down one service and the rest kept serving. That's the reason I'd split a monolith, along with clearer ownership for each team. The latency drop was a side effect.

What it cost

Local development got worse. Running the full product on a laptop went from one command to a compose file nobody fully understood.

Debugging got worse too. A stack trace turned into correlating three logs across two services. Distributed tracing went from nice to have to something you install before the split, because adding it afterwards means debugging blind in the meantime.

When splitting won't help

If your monolith is slow because one endpoint is doing an N+1 query, splitting won't fix it. You'll have the same slow query in a smaller box, with a network hop in front of it. If speed is your reason for splitting, profile first. The answer is usually a missing index.

Building something like this?

I'm Ahmed Mamdouh, a senior full-stack and AI engineer. I reply within one working day.

More posts