Working with the Aggregator Pattern
In the previous chapter, we looked at some of the key elements that make up microservices. We will turn our attention to more practical applications of these concepts, starting with the aggregator pattern and domain-driven design. These combine to set a premise for scoping an application being built on microservices design principles.
The aggregator pattern and domain-driven design go hand in hand. For now, we will refer to domain-driven design as DDD. So, a DDD aggregate is a group of domain objects, combined as a single unit. In practicality, we might have a customer record different from its documents, but it is prudent of us to display all of these bits of data as a single point of data, an aggregate.
After reading this chapter, we will be able to do the following:
- Understand DDD
- Understand how to derive domains in a system process
- Understand the importance of aggregates and the aggregate pattern
- Distinguish between...