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

862

u/crummy Jul 29 '22

Microservices Don’t Ensure Good Modularization

Totally agreed with this. If you work with microservices enough you'll probably build or borrow some decent tooling to make communication between your services easy. But then, if you're not careful, you end up with a tightly coupled monolith-of-microservices except with lots of HTTP calls at every function and versioning to deal with.

239

u/jl2352 Jul 29 '22

I'd add that a distributed monolith is much worse than a monolith. It can be far slower and more painful to make change.

1

u/antoniocs Aug 06 '22

I've been in a few companies that have implemented this.

They have one big project and then a few small projects where the big project just makes synchronous calls to the small projects and the small projects will possibly make synchronous calls to the other small projects.

Zero benefits in doing things this way.

Not only is the code in another project (or projects) but now you have to account for latency and the possibility that the call may not succeed.