Aggregator Microservice Design Pattern

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 ...

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.