官术网_书友最值得收藏!

Creating a materialized view in DynamoDB

The Command Query Responsibility Segregation (CQRS) pattern is critical for designing cloud-native systems that are composed of bounded, isolated, and autonomous services with appropriate bulkheads to limit the blast radius when a service experiences an outage. These bulkheads are implemented by creating materialized views in downstream services.

Upstream services are responsible for the commands that write data using the Event Sourcing pattern. Downstream services take responsibility for their own queries by creating materialized views that are specifically tailored to their needs. This replication of data increases scalability, reduces latency, and allows services to be completely autonomous and function even when upstream source services are unavailable. In this recipe, we will implement a materialized view in AWS DynamoDB.

主站蜘蛛池模板: 乌拉特前旗| 福贡县| 长垣县| 绥江县| 德江县| 望江县| 临泉县| 涞水县| 宜都市| 东乌| 旌德县| 白河县| 磐石市| 陆良县| 安岳县| 句容市| 宁远县| 阿图什市| 铜梁县| 马公市| 拜城县| 临夏县| 赣榆县| 石门县| 昌宁县| 巴东县| 兴山县| 无棣县| 电白县| 七台河市| 梨树县| 兰州市| 东乡族自治县| 三都| 宁河县| 玛纳斯县| 吐鲁番市| 日照市| 平武县| 新民市| 阜阳市|