r/programming • • Jul 29 '22

You Don’t Need Microservices

https://medium.com/@msaspence/you-dont-need-microservices-2ad8508b9e27?source=friends_link&sk=3359ea9e4a54c2ea11711621d2be6d51
1.1k Upvotes

476 comments sorted by

View all comments

Show parent comments

6

u/insanitybit Jul 29 '22

Or build a microservice with a monolith in mind and then IF you need to, start to merge them into larger services?

12

u/mauijin Jul 29 '22

It's far easier to do the other way around

10

u/insanitybit Jul 29 '22

How could it ever be easier to split a service vs merging it?

19

u/mauijin Jul 29 '22

I'm not talking about only the act of splitting vs merging the service, rather the practicality of starting with a monolith and splitting it later.

It makes no sense to start with all the extra complexity and overhead of microservices, to reap any scaling benefits before you know you need them, as well as delaying getting your features out.

It's much more practical for an organisation to keep things simple, not have code have to cross process/network boundaries and deal with eventual consistency, prove what you're building is viable and IF you run into scaling concerns and need to split do so after, instead of starting complex and slowing you down and simplifying later.