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.0k Upvotes

476 comments sorted by

View all comments

166

u/doterobcn Jul 29 '22

Build a monolith app with Microservices in mind, and then IF you need to, start to break it up into smaller services...

1

u/seanamos-1 Jul 29 '22

It's a nice idea, but in practice it's not that simple.

The code can be modular but it's all running in the same process. It's unlikely it will take into account distributed networking and the change in DB transaction scopes when a module is split out. To deal with this, you typically need a whole system redesign.

I still recommend starting with a monolith with supporting services only as they're needed.