Pros and cons of aggregator design pattern
The aggregator design pattern clearly has many more points in favor of it than against it. It is a very elegant scalable pattern and can be applied to almost all scenarios where there are microservices.
Pros of aggregator design pattern
The pros of using the aggregator design pattern are as follows:
- Scalability of both the x-axis and z-axis
- Tunneling microservices
- Microservices signature flexibility to Internal Services
- Providing a single access point for microservices
Cons of aggregator design pattern
Certain cons faced while using the aggregator design pattern are as follows:
- Complexity to orchestrate data
- Bottleneck anti-pattern
- Latency in communication between microservices