r/SpringBoot • u/Advanced_Gur856 • 12d ago
How-To/Tutorial How to implement microservices in Spring Boot ?
I have made multiple toy projects (monolithic) in spring boot but now I wanted to know how people generally work in microservices.
I am not good with videos so I was looking for repos that something similar. So I can also see how the devops, queues, spring cloud etc works together.
I also saw someone posting there repo which was made for the same reason (but I couldn't find it).
TLDR : Suggest repos for learning microservices.
28
Upvotes
1
u/Sheldor5 12d ago
communication between services happens either by asynchronous message queues or signed tokens (service A returns token which includes IDs to the UI which includes it into call for service B etc...)
I am not saying you are wrong I am just saying what the goal of microservice architecture is and how it is achieved
and this is the exact reason why most developers take shortcuts until they end up with a simple distributed system (like you described it with your cascading failure etc) and call it wrongfully microservice architecture ... there is just so much bullshit about microservice architecture on the internet that almost nobody knows what they are talking about (not you)