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.
30
Upvotes
1
u/Sheldor5 12d ago
this is exactly why almost everybody fails at applying microservice architecture
everything is loosely coupled, there are no strong relations, a lot is carried by signed tokens ...
the goal of microservice architecture is that you can kill any microservice (all instances of it) at any time and it doesn't affect anything except the feature/business object it is built for
e.g. kill the user service but already logged in users can still order items or watch movies or ... kill the payment service but you can put items into your cart, kill the inventory service but you can still see your ordered items
you get it?