知识卡片

普通读书笔记卡 · 1841.h.1.a.1.a.3.f.1.g.2

删除传播需要显式治理

理解等级:高级

拆开数据库后,原本由外键保证的引用完整性必须转成明确的跨服务责任。所有者删除实体时,可以发布持久事件,让引用方更新,并用适应度函数检查传播结果。消息传播不是外键的即时等价物,需要明确延迟、失败重试及未完成状态的处理。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Evolutionary Data · 查看原书依据

      Referential integrity in databases refers to primary keys and their linkages. In distributed architectures, teams also have unique identifiers for entities, frequently expressed as GUIDs or some other random sequence. Thus, architects must write fitness functions to ensure that if, for example, a particular item is deleted by the owner of the information, that deletion is propagated to other services that might still reference the

    参考来源

    - 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第06章《Evolutionary Data》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch06.html;段落定位:architects must write fitness functions to ensure) - 结论依据:原文对“删除传播需要显式治理”的定义或案例,支撑“拆开数据库后,原本由外键保证的引用完整性必须转成明确的跨服务责任”的归纳。据其上下文,所有者删除实体时,可以发布持久事件,让引用方更新,并用适应度函数检查传播结果。 - 原始内容:Referential integrity in databases refers to primary keys and their linkages. In distributed architectures, teams also have unique identifiers for entities, frequently expressed as GUIDs or some other random sequence. Thus, architects must write fitness functions to ensure that if, for example, a particular item is deleted by the owner of the information, that deletion is propagated to other services that might still reference the