- JavaScript Cloud Native Development Cookbook
- John Gilbert
- 82字
- 2021-07-16 18:03:32
Creating a materialized view in a Cognito dataset
In the Creating a materialized view in DynamoDB recipe, we discussed how the CQRS pattern allows us to design services that are bounded, isolated, and autonomous. This allows services to operate, even when their upstream dependencies are unavailable, because we have eliminated all synchronous inter-service communication in favor of replicating and caching the required data locally in materialized views. In this recipe, we will implement an offline-first materialized view in an AWS Cognito dataset.