SN Sam Newman On Refactoring

“I've described microservices as an architecture of last resort. It should not be your default choice. It brings a lot of complexity with it, because it will encourage you naturally towards finer-grained boundaries. It gives you all kinds of challenges about the distributed nature of your application.”

Refactoring · Software Engineering & Infra · November 2026

“I've described microservices as an architecture of last resort. It should not be your default choice. It brings a lot of complexity with it, because it will encourage you naturally towards finer-grained boundaries. It gives you all kinds of challenges about the distributed nature of your application.” — Sam Newman, Refactoring

Context

Luca Rossi asked whether a disciplined modular monolith gives most of the benefits of microservices. Sam Newman, who wrote the standard book on microservices, says a single team should usually start there.

Transcript

Refactoring
Sam Newman

It depends because different organizations want different things. So I would say if you're a single person team,

Luca Rossi

it's not a

Sam Newman

single person team. So if you're like a single team and that's how you're building the software, I think unless you've got specific reasons for your application to be distributed, I think a modular monolith is a great option as long as you can maintain that discipline. I think the issue with say a single process modular monolith compared to a microservice architecture is the independent deployability nature. So you'll have the benefits of loose coupling, right? You would have the ability to do independent development. This is the argument that Parnass makes in his original papers, right? So a modular architecture allows people to work in parallel more efficiently. You get those benefits. What you don't get is independent release. So if you have a modular monolithic architecture and you've got, I don't know, 20 teams working on this system, you still have a coordination cost around getting that thing out the door. And until we have modular widespread use of runtimes that enable hot swapping of modules within a single process boundary, that isn't going to happen. And look, you know…

Luca Rossi

Yeah.

Sam Newman

So I have to be convinced it's a good idea. My default position, if I'm drawing a high-level structure of my system, it's a big box, all the code goes in it. And then I think about the internal structure. And then it's like, why can't we do that? And then you work through the options. So I…

Luca Rossi

this one. I don't think we should do them.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.

More from Refactoring