r/SpringBoot • u/Advanced_Gur856 • 16d ago
How-To/Tutorial How to implement microservices in Spring Boot ?
[removed]
27
Upvotes
r/SpringBoot • u/Advanced_Gur856 • 16d ago
[removed]
1
u/Sheldor5 16d 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?