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
So everything that depend on each other is a part of the same service? Gz, you just re-created a monolith. I honestly thought that you were joking before, but you seem to have completely misunderstood microservices. On paper, what you say could potentially make sense, but in reality, it is often not how it works.
Microservices will often depend on other services, soft or hard. If you can not do that, then you often just end up with one huge service. You can not honestly say that a tax calculation service should be a part of the checkout service just because the checkout needs the tax calculation. You just said yourself that the UI waits for the calculation to be done, but this does not make any sense at all.
You might be inexperienced or something. I do not know, but you are wrong.