← 返回起始笔记位置

知识卡片

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

外部状态的时间竞态

理解等级:高级

外部库让实例访问完整数据集,方便跨键查询,但实例仍按独立事件时间处理。A实例关联一个B实例尚未物化的实体会查不到,事后重放时却可能命中,导致结果不同。读后写一致性可改善存储可见性,不能替代跨输入的时间协调。共享平台可复用,微服务数据及其所有权仍应逻辑隔离。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Stateful Streaming · 查看原书依据

      Though also listed as a benefit, full data locality can present some challenges. The data available in the external state store originates from multiple processors and multiple partitions, each of which is processing at its own rate. It can be difficult to reason about (and debug) the contributions of any particular processing instance to the collective shared state.

    参考来源

    - 位置:《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;规范化段落起句:Though also listed as a benefit) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:外部库让实例访问完整数据集,方便跨键查询,但实例仍按独立事件时间处理。本卡同时保留其适用条件与失败边界。 - 原始内容:Though also listed as a benefit, full data locality can present some challenges. The data available in the external state store originates from multiple processors and multiple partitions, each of which is processing at its own rate. It can be difficult to reason about (and debug) the contributions of any particular processing instance to the collective shared state.