In the previous chapter, we saw the operation and applicability of the shared data pattern design. We know that the pattern mentioned here is temporary; that is, it is a pattern for some transition scenarios from monolithic to microservices because of the risk over some components. In this chapter, we will move on from the shared data design pattern to apply a more consistent pattern with good development practices to microservices.
It will be presented and applied to the aggregator design pattern. Precisely, with the new pattern, we will apply Command Query Responsibility Segregation (CQRS) and event sourcing to our News microservices. Another interesting point is that we will restructure our storage distribution. There is no doubt that this will be a chapter full of new concepts and a lot of practice.
In this chapter...