返回主题:数据集成与分拆:一份真源与多份衍生

知识卡片

普通读书笔记卡 · 1980.z.1.a.1.c.1

事件化隔离内部关联

理解等级:中级

公开事件可以由生产者在事务内反范式化,也可通过私有CDC流和专门eventification服务生成。后者物化User、Location、Employer等表,关联成完整User事件;关联对象变化也必须重新计算受影响User。它把重复建模成本集中到数据所有者,代价是额外状态、处理和一致性责任,不能只在User自身变化时更新。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Integrating Event-Driven Architectures with Existing Systems · 查看原书依据

      The data store client can instead denormalize data upon insertion time such that the outbox mirrors the intended public data contract, though this does come at the expense of additional performance and storage space. Another option is to maintain the 1:1 mapping of changes to output event streams and denormalize the streams with a downstream event processor dedicated to just this task. This is a process that I call eventification,

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第04章《Integrating Event-Driven Architectures with Existing Systems》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch04.xhtml;规范化段落起句:The data store client can instead denormalize) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:公开事件可以由生产者在事务内反范式化,也可通过私有CDC流和专门eventification服务生成。本卡同时保留其适用条件与失败边界。 - 原始内容:The data store client can instead denormalize data upon insertion time such that the outbox mirrors the intended public data contract, though this does come at the expense of additional performance and storage space. Another option is to maintain the 1:1 mapping of changes to output event streams and denormalize the streams with a downstream event processor dedicated to just this task. This is a process that I call eventification,