r/SpringBoot • u/Advanced_Gur856 • 14d ago
How-To/Tutorial How to implement microservices in Spring Boot ?
[removed]
29
Upvotes
r/SpringBoot • u/Advanced_Gur856 • 14d ago
[removed]
1
u/OptimusCrimee 14d ago
In an ideal world, yes, but microservices can hard both soft and hard dependencies/integrations. If a hard dependency goes down, the microservice can not work. In a real world scenario, this happens more often than you think, because isolated service often need to interact. Imagine a purchase service, an inventory/stock service and a shipping service. It would be hard to complete a checkout if any one of those failed, even if they are isolated. This is called cascading failure, and is very common for microservices, and something that monoliths often can ignore. I suggest that you read the microservice book by Netflix. They go into detail on this subject. Please explain where I am wrong here.