SN

Sam Newman

Things Sam Says on Podcasts

Where to Find Them

Sam Newman has been a guest on The InfoQ Podcast (4 times) , The Pragmatic Engineer and Refactoring .

Recently: “Microservices are your last resort – with Sam Newman” on Refactoring (November 2026); “Building resilient systems with Sam Newman” on The Pragmatic Engineer (October 2026); “Do microservices' benefits supersede their caveats? A conversation with Sam Newman” on The InfoQ Podcast (June 2025); “Sam Newman on Information Hiding, Ubiquitous Language, UI Decomposition and Building Microservices” on The InfoQ Podcast (September 2021); “Sam Newman: Monolith to Microservices” on The InfoQ Podcast (May 2020); “Security Considerations and the State of Microservices with Sam Newman” on The InfoQ Podcast (August 2017).

What They Said

“What people are doing is they found out that LLMs are really good at writing code. So let's free up time to spend more time telling our LLM to generate more code. So we've taken one bit of the system and massively scaled up our ability to write code. Those organizations that are getting the least out of AI, a lot of them interpret value as generation of text. Theory of constraints tells you that's a terrible idea.” — Sam Newman, Refactoring

Luca suggested AI could free engineers from low-value work so they can focus on understanding what matters. Newman says that isn't what organizations are doing: they speed up code generation, which is only one step in delivering software.

Refactoring · 2026-11-27 Permalink → Listen →
Refactoring
Sam Newman

Right. What people are doing is they found out that LLMs are really good at writing code.

Luca Rossi

So let's step up everything. No,

Sam Newman

no, no. No, no, no. This is worse. So let's free up time to spend more time telling our LLM to generate more code. So we've taken a system, we've taken one bit of it, and we've massively scaled up our ability to write code. And so those organizations that are getting the least out of AI, fundamentally, a lot of them interpret value as generation of text. And so they've gone in this one little bit, right? Theory of constraints tell you that's a terrible idea. So people aren't freeing, some people are. But if we really were giving up that meaning, but for me, like, and again, a lot depends. Camille's very smart. A lot of it depends what you think ownership means. Now, if what you think is, I care about the code, the actual what is in a line of code, I don't care that much.

Luca Rossi

Yeah.

Sam Newman

What I care about is what the system is supposed to do, how it's working, how it's behaving. And I think if, and again, it's also about scale. Yeah. So Camille's at Core Weave. I don't know the scale of the development team internally, right? If you've got a sort of fuzzy understanding of ownership…

Luca Rossi

Yeah, of course. If you've got

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“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

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.

Refactoring · 2026-11-27 Permalink → Listen →
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.
“I'm okay with not looking at the code as long as you're doing other things to make sure the system is operating correctly, and that you're thinking critically about how the system needs to change and evolve. If you're just not looking at the code and you're not caring about those other things, well, then you deserve everything that's going to happen to you.” — Sam Newman, The Pragmatic Engineer

Newman is responding to news of a company dropping human code review in favour of spending the time on design documents. He says he is fine with that from a team that knows what it is doing. His worry is the many companies that drop the review without doing the thinking that was supposed to replace it.

The Pragmatic Engineer · 2026-10-07 Permalink → Listen →
The Pragmatic Engineer
Sam Newman

…the safety of the compiler and the runtime and all that stuff. There's a lot more questions to answer, I think, before the whole world is ready to say the spec is the source of truth of what our system is supposed to do. Production is always going to be the real truth, though, just to be clear. But

Gergely Orosz

…company or got ill or the famous bus factor, it was okay because other people understood because they reviewed they were taking part in that part of it. But now we're, you know, with AI code review is some companies are like, well, we're not going to do it because of it's with too much code. That

Sam Newman

was always one of the superpowers of pairing, right? Pairing, you wrote, if you do, if you do promiscuous pairing, you rotate every day. When someone leaves, everyone's got the same shared context. That was always something people missed around one of the benefits of pairing. I think there's a lot to be said around this. I was chatting to Chris Ford. He's sort of head of software, head of technology for ThoughtWorks in Spain. And he said the biggest problem we've got around AI-driven software delivery is tacit knowledge. There's a lot of knowledge in our heads that we've built up that we don't necessarily know that we have. When you do something like a code review, you've probably had looks at that and it's doesn't really feel right. I wouldn't do it like that. And sometimes it's subjectivity, but sometimes there's something about that that you can't quite pinpoint. Maybe you can unpack it, maybe you can't. But there's also like you have bunches of things like that in your head about how software delivery should be done about how the business works and everything else. If we want to step up that level of abstraction to work at the spec…

Gergely Orosz

Which also goes back a little bit to what Charity was talking about on how you want to have systems that value that works about having empathy, for example,

Speaker 3

for the work that QAs and SRE folks have had to own code in production that they did not write. They don't necessarily read or even understand, but they know how to operate. They know what good looks like in production. They know what it looks like when it goes poorly.

Sam Newman

I mean, that's also a bigger thing that now more developers are having to struggle with, because if you want to do spec-driven development, you have to know what good looks like. I run these sort of half-day conferences for O'Reilly online. We did one recently on software delivery. A load of…

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“Would I use that as defense against a distributed denial of service attack? No, because then your distributed denial of service attack becomes a distributed denial of cash attack.” — Sam Newman, The Pragmatic Engineer

Newman is talking about automatic scaling in the cloud. He says it suits a startup hit by a sudden wave of real customers, since you can scale up for the peak and back down after. Against an attack, the same mechanism leaves you with no service and a large bill.

The Pragmatic Engineer · 2026-10-07 Permalink → Listen →
The Pragmatic Engineer
Gergely Orosz

…resources, but then we get into things like scaling. Like, can you scale horizontally, add more resources? Because there's two sides of this, right? Like whenever you have it, and so what point can you do that? Or are you going to face a bottleneck because you still have a central whatever? But

Speaker 4

like that's

Sam Newman

a great example of where sometimes mitigations work and sometimes they don't. So an example of something like your product is successful, if you're a startup or whatever, and you suddenly got successful, that success comes like a wave, right? The wave of success hits you and then a lot of it recedes. You'll get a thousand customers in and maybe you'll keep a hundred, maybe, right? That's just how things work. So you need to be up during the peak, but then you probably can shrink down again to keep the costs low. So if you've built your application to have some dynamic scalability in it, and if you're on the public cloud or similar place where you can spin up and spin down, that's a viable mechanism, right? Okay, we can scale up to handle this and that's fine. Would I use that as defense against a distributed denial of service attack? No, because then your distributed denial of service attack becomes a distributed denial of cash attack, right? You go from to no…

Gergely Orosz

Yep.

Sam Newman

And you still can't keep up. So that's a perfectly valid mechanism for some things, but you kind of have to know the context in which to say you can't just scale yourself out of trouble.

Gergely Orosz

I think we're going back to a lot of times as like as an engineer, you want to know about the business. You want to know what creates a value, what creates revenue, what is important for the company versus what is not. And then where we want to maybe invest to with our infrastructure, with our…

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“It's just a tool in a toolbox. I've described microservices as being an architecture of last resort.” — Sam Newman, The Pragmatic Engineer

Newman wrote the standard books on microservices, which makes this a surprising thing for him to say; the host's reply is "Really?" His reasoning is that the architecture pushes you into distributing state aggressively, so you need a good reason. The best one, he says, is wanting teams that can work independently of each other.

The Pragmatic Engineer · 2026-10-07 Permalink → Listen →
The Pragmatic Engineer
Sam Newman

I mean, there was always, I mean, also in those sorts of environments. I mean, I was checking people at SoundCloud that's similar about that. And this is also like about a corporate culture and like what was acceptable. Like in that kind of environment, just go and do stuff. It's absolutely fine.

Gergely Orosz

…Uber decomposed the monolith, they're now looking at maybe sense to be merging based on business domain, et cetera. But this story wasn't really told at the time. It was just, oh, look, like Uber has thousands of microservices, almost one or two per engineer, right? And this is what the world saw.

Sam Newman

I mean, it's also though, but this is the reality of microservice adoption is like, it's just a tool in a toolbox. I mean, I've described microservices as being an architecture of last resort.

Gergely Orosz

Really?

Sam Newman

Yeah, yeah, absolutely. Because it pushes you quite naturally to a more aggressive distribution of your state and everything else. And so you have to have a good reason. One of the best reasons to use microservices is if what you actually want is an organization with a high degree of autonomy. If…

Gergely Orosz

say dot-coms, you mean the digital companies, tech companies.

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

Collections They Appear In