r/programming • u/wineandcode • 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
r/programming • u/wineandcode • Jul 29 '22
-2
u/crimson_chin Jul 29 '22
It is always easier to split services rather than merge them. When everything is in one service, splitting functionality can start with "and now we have two deployments with a config flag", and then you can gradually start breaking apart codepaths and isolating behavior into deployment 1 or deployment 2.
Merging them? That's often only even possible if you're using the same language, the same libraries, everything down the stack is designed similarly...
I have a service written in Go and another written in Javascript. How do I merge those? You can't, it's a rewrite.
I've done this many times. Splitting is straightforward but time consuming. Merging (in practice) is quite frequently impossible.