176
CHAPTER 5 | Designing and Developing Multi-Container and Microservice-Based .NET Applications
Figure 6-38. Zoom in vision of the Aggregator services
You can notice how when the diagram shows the possible requests coming from the API Gateways it
can get complex.
On the other hand, when you use the aggregator pattern, you can see how the
arrows in blue would simplify the communication from a client app perspective. This pattern not only
helps to reduce the chattiness and
latency in the communication, it also improves the user experience
significantly for the remote apps (mobile and SPA apps).
In the case of the “Marketing” business area
and microservices, it is a simple use case so there was no
need to use aggregators, but it could also be possible, if needed.
Dostları ilə paylaş: