
Why microservices should be your last resort with Sam Newman
Coding Over Cocktails
00:00
Object-Oriented Programming
In the API space, we talk about abstracting APIs. Is that the same sort of concept you're talking about with? It can be. I mean, probably a more common example of information hiding that many of you would be aware of is encapsulation. So then if I change my internal microservice, that API can still serve that function. But really fundamentally, it's a mindset shift. You want to think from a consumer point of view, what do they need? Create the right API event endpoint for those consumers. The rest of the stuff inside that service boundary remains hidden. Anything you hide inside your service boundary, you can change however you want. And it won't affect people
Transcript
Play full episode