Data orchestration and response consolidation
Data orchestration and response consolidation using the chained design pattern has a certain level of complexity, both in the composition process itself and in the debugging process.
The process of consolidating data using a chained pattern does not occur at a single point, as we are usually accustomed to using an aggregator. With the chained design pattern, data consolidation is gradual and occurs partially at each call stage of the requests chain. The result will be finally completed at the end of all the request processing.
The longer the internal chain of calls to microservices, the longer the data consolidation process will take.
When using the chained design pattern, the Domain-Driven Design (DDD) process is necessary to reduce the number of chain calls performed internally by microservices. In order not to have a negative impact on the consumer of our application, it is essential not to have a long chain of communication between microservices...