Coding Over Cocktails cover image

Why microservices should be your last resort with Sam Newman

Coding Over Cocktails

CHAPTER

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

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner