In the previous chapters, we worked with the aggregator design pattern and the chained design pattern. In this chapter, we will understand the operation of the branch design pattern, which is a variation between the aggregator pattern and the chained pattern.
The branch design pattern emerges as an evolutionary attempt by the aggregator and chained design patterns to better serve the business layer of the application.
At the end of this chapter, we will be able to identify, classify, and understand the characteristics of this pattern. We will find the best applicability for the branch design pattern as well as the conceptual rules for applying it.
In this chapter, we'll look at:
- Data orchestration
- Microservice communication
- Pattern scalability
- Best practices