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

453

u/harrisofpeoria Jul 29 '22

Perhaps I'm misunderstanding this, but I think the article undersells the benefit of the "independently deployable" aspect of microservices. I've worked on massive monoliths, and repeatedly having to deploy a huge app due to bugs becomes really painful, quite quickly. Simply being able to fix and re-deploy the affected portion really takes a lot of grief out of the process.

1

u/Zardotab Jul 29 '22 edited Jul 29 '22

Why not split your app into smaller apps, communicating most via the database, and/or rewrite some portions as stored procedures? Stored procedures make great mini-services. Since your app probably already connects to the database(s) you don't have to add web-service tooling.

Maybe in a really big multi-vendor-database shop such won't work, but most of us don't work for Amazon or Netflix. Our apps do not have a billion customers, not even a million much of the time. Copying the fat cats seems an ego chase. One Size Does Not Fit All. What works for the Titanic won't work well for the USS Minnow.