Consume state change events from upstream components and maintain materialized views that support queries used within a component.
Command Query Responsibility Segregation (CQRS)
Context, problem, and forces
You are building a reactive, cloud-native system that is composed of bounded isolated components. Each component leverages value-added cloud services to implement one or more cloud-native databases that are exclusively owned by each component. This isolation empowers your self-sufficient, full-stack team to rapidly and continuously deliver innovation with confidence.
This isolation also makes it challenging to work with data across components. First, making synchronous requests between components to retrieve data is problematic...