知识卡片

普通读书笔记卡 · 1980.z.4.b.3

物化状态与状态存储

理解等级:中级

物化状态是从事件流得到的投影,状态存储是保存当前业务数据和中间计算的位置。二者分开可说明恢复来源与当前可变表示的关系。内部存储与实例运行位置绑定,外部存储由独立服务提供;选择要看访问模式、容量、延迟和恢复需求,而非只看团队熟悉哪种数据库。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Stateful Streaming · 查看原书依据

      A projection of events from the source event stream (immutable) State store Where your service’s business state is stored (mutable) Both materialized state and state stores are required and used extensively in stateful microservices, but it’s important to distinguish between them. Materialized states enable you to use common business entities in your microservice applications, whereas state stores enable you to

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第07章《Stateful Streaming》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch07.xhtml;规范化段落起句:A projection of events from the source) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:物化状态是从事件流得到的投影,状态存储是保存当前业务数据和中间计算的位置。本卡同时保留其适用条件与失败边界。 - 原始内容:A projection of events from the source event stream (immutable) State store Where your service’s business state is stored (mutable) Both materialized state and state stores are required and used extensively in stateful microservices, but it’s important to distinguish between them. Materialized states enable you to use common business entities in your microservice applications, whereas state stores enable you to