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

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.

主站蜘蛛池模板: 科尔| 古田县| 镇坪县| 玉环县| 毕节市| 平湖市| 宁河县| 华池县| 商都县| 琼中| 长葛市| 塘沽区| 黑水县| 定州市| 安丘市| 南岸区| 神木县| 延川县| 贵州省| 和平区| 香港| 陆良县| 高陵县| 高密市| 元氏县| 托里县| 双牌县| 长丰县| 祁阳县| 工布江达县| 沅江市| 稷山县| 江陵县| 海门市| 长沙县| 上饶县| 高台县| 天门市| 盐亭县| 隆回县| 龙州县|