Re:If All You Have Is a Database, Everything Looks Like a Nail
by rualca on Tuesday December 08, 2020 @02:07AM
(#25342704)
> API composition only works when the network boundary and services are performance compatible to federate queries.
Isn't that the whole point?
The main reason why individual reaponsibilities are peeled out of a monolithic service into independent services is to be able to unload those requests to services that can be scaled independently.
API composition only works when the network boundary and services are performance compatible to federate queries. The patterns above can be used to work around the performance concern at a cost of system complexity.