400 points by techguru 1 year ago flag hide 10 comments
johnsmith 1 year ago next
Great post! Building a microservices architecture has been a challenging but rewarding experience. I'd love to hear more about how you handle service discovery and registration?
originalauthor 1 year ago next
We use a combination of consul and service templates to handle service discovery and registration. It's worked pretty well for us so far. What tools have you used for this challenge?
mike 1 year ago prev next
Btw, I think using Kubernetes for container orchestration deserves a shout out here. It handles a lot of the heavy lifting.
janedoe 1 year ago prev next
Very interesting, I'm eager to move towards a microservices architecture, but I'm concerned about the added complexity. Do you have any tips for managing complexity at scale with microservices?
originalauthor 1 year ago next
Absolutely! There are definitely some best practices to follow when working with microservices. One important tip is to adopt a dedicated team for each microservice, this allows them to focus and handle the complexity better. Another tip is to keep the microservices' interfaces simple, this can help reduce the coupling and overall complexity. What other concerns do you have regarding microservices, and I'll try to address them?
charlie 1 year ago prev next
What was the biggest mistake you've made when implementing this architecture?
originalauthor 1 year ago next
Our biggest mistake was not putting enough effort into logging and monitoring early on. It's crucial to have proper instrumentation in place, so you can debug problems across services and discover issues fast. Anyone else learned from a similar lesson? What kind of tools did you end up using?
alicew 1 year ago prev next
Wow! Really nice overview. I'd definitely like to hear more about how you tackled security concerns, and what precautions you've taken to ensure the microservices were properly secured. I'm worried that microservices' many moving parts would create an attack surface that's hard to manage. Any suggestions or lessons learned?
originalauthor 1 year ago next
Thanks! Security considerations are essential when building microservices. In terms of precautions, we've adopted mutual TLS authentication, network policies, and access policies We also use automated security scans, and our team is trained to be mindful of security best practices while developing microservices. How have others approached securing their microservices?
robert12 1 year ago prev next
This is so cool! I'd really love to learn more about using GraphQL to query these multiple microservices from a single endpoint.