Re:Microservices: Why Are We Doing This?
by lIIIllllIIII on Monday March 21, 2022 @10:51PM
(#30762251)
Is it a common thing for "proper" microservices to have microservices retrieve data from other services via APIs?
I've worked on "microservices" systems before that do this. They were mostly shit.
The system I'm working on at the moment has each service subscribe to events and maintain its own database. The only comms is via events. It works pretty well and everything really is nicely separated, but it feels a bit haphazard.
That of course leads you down the path of creating an "oddly specific" API that caters exactly to the needs of the clients, down to the point that small changes in the client's needs require changes in the upstream service(s) - so your "separation of concerns" has become a joke.