Ask HN: What's your biggest struggle with Microservices?
21–30 of 77 posts
Re: Ask HN: What's your biggest struggle with Microservices?
#22Re: Ask HN: What's your biggest struggle with Microservices?
#23Convincing people that microservices are not a cure-all but just another design pattern. You have to start out with a monolith and only if you realise along the way that some components might work better as a service (micro or not) you should extract those. Until then, commonplace modularisation will serve you just fine. Once you have more than 1 microservice running infrastructure becomes a huge problem. There's no…
Re: Ask HN: What's your biggest struggle with Microservices?
#241- You first mistake is wanna to (be a bomb defuser) use micro-services.
Don't
2- You second mistake is (getting close to the bomb) start building a micro-service infrastructure.
Not.
3- You third and worst mistake is believe (you can defuse the bomb safely) you can build a microservice solution correctly.
The only reason to (be a bomb-defuser) use microservices is (you are part of the police or army and somebody must do this) you ALREADY HAVE SOLVED THE MAIN THINGS FOR YOUR APP and now are in the hostile territory where micro-service truly make sense. You are facebook-alike.
Re: Ask HN: What's your biggest struggle with Microservices?
#25Convincing people that microservices are not a cure-all but just another design pattern. You have to start out with a monolith and only if you realise along the way that some components might work better as a service (micro or not) you should extract those. Until then, commonplace modularisation will serve you just fine. Once you have more than 1 microservice running infrastructure becomes a huge problem. There's no…
I'm lucky that the project that I'm working on has support to use JHipster (https://jhipster.github.io/) with microservices deployed to OpenShift (https://www.openshift.com/). I used MiniShift to test my deployments, metrics, monitoring, orchestration, and logging locally. This was mostly for a proof-of-concept.
Re: Ask HN: What's your biggest struggle with Microservices?
#26Testing and debugging inter-service concerns. These, in my opinion, are inherently difficult to do when working with this architecture. In other words a lot of ugly real-world complexity hides in the space between the neatly maintained gardens that is the inside of a single service giving a somewhat false view that the problem has been successfully chopped up into small, compose and manageable pieces.
Re: Ask HN: What's your biggest struggle with Microservices?
#27Or is it better to deal with that complexity up front and then adding new services/functionality will be easy as time goes on?
Re: Ask HN: What's your biggest struggle with Microservices?
#28Micro-services must be under the same mantra as bomb defusers: 1- You first mistake is wanna to (be a bomb defuser) use micro-services. Don't 2- You second mistake is (getting close to the bomb) start building a micro-service infrastructure. Not. 3- You third and worst mistake is believe (you can defuse the bomb safely) you can build a microservice solution correctly. The only reason to (be a bomb-defuser) use micros…
Re: Ask HN: What's your biggest struggle with Microservices?
#29One of my biggest hurdles was trying to figure out if microservices were right for us (a small distributed team) and then communicating/selling the benefit of them to my team and bosses. This involved creating a mutually agreed upon definition of what we actually meant by "microservices". I literally repurposed paragraphs out of Sam Newman's book to do this. As a small team, I also didn't have examples to support my…
My sense is that for a small team a microservices architecture might be more trouble than it's worth, but I can definitely see how some kinds of applications - or even kinds of teams - it could be a good fit.