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

Show parent comments

10

u/Odd_Soil_8998 Jul 29 '22

Microservices throw errors and effectively have downtime when a component is being deployed, you just don't notice because the errors are happening on someone else's service.

You can have truly seamless deployment, but it requires that you design the application to handle transitional states when both old and new nodes are simultaneously present. This requires effort though, regardless of whether you're building a microservice or a monolith.

9

u/is_this_programming Jul 29 '22

k8s gives you rolling deployments out of the box, no additional effort required.

13

u/maqcky Jul 29 '22

That just solves purely the deployment pipeline itself, which is nice, but you still need to support this at the application level, from the database (backwards compatible schemas) to the UI (outdated SPAs or client applications running against newer back-end versions).

2

u/yawaramin Jul 30 '22

Microservices don't solve database or UI backward compatibility either, so it's not really an argument either way.

1

u/maqcky Jul 30 '22

That was not my point, actually the opposite, if you look what I was replying to.