Live data from Hacker News

Ask HN: What's your biggest struggle with Microservices?

news.ycombinator.com

1–10 of 77 posts

Ask HN: What's your biggest struggle with Microservices?

#1
I'm working on a book about microservices and want to know what questions and topics you'd like to see covered.

What were your biggest hurdles when first adopting microservices? Was it hard for your team to determine service boundaries? Did you struggle with developing and managing them?

Re: Ask HN: What's your biggest struggle with Microservices?

#4
One 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 argument that microservices would benefit us.

Re: Ask HN: What's your biggest struggle with Microservices?

#5
For us, it was managing them, in all senses (development, logging, secure communcation between, etc.). Kubernetes and (Calico for networking) help dramatically to address these problems. I finally really see the value in microservices; before we started using Kubernetes, all my attempts with a microservices approach made me hate them.

Re: Ask HN: What's your biggest struggle with Microservices?

#6
Handling common concerns in each microservice such as authentication and authorization, building resiliency in each µservice, managing each µservice configurations. This causes duplicated effort in each µservice. Need to look at service mesh (istio, linkerd).

Handling service discovery, API gateway in ever-changing kubernetes ecosystem.

Re: Ask HN: What's your biggest struggle with Microservices?

#8
Orchestration: Keeping track of what versions of what services need to be live, where services should find the correct versions of the other services they need to talk to, spinning up staging, production, and test versions of services, feature flagging services, etc.

Re: Ask HN: What's your biggest struggle with Microservices?

#10
Development environment becomes somewhere between extremely hard and impossible to set up. Resign yourself to running tests locally with staging as the only place to test your services talking to each other. This is my experience at a medium size public company on the bay area.
Post reply on HN