知识卡片

普通读书笔记卡 · 10294.a.4.a.2.d.1.b · 生成模型:未记录

不变量合流减少协调

理解等级:高级

从共同状态独立发展出的两个有效状态,如果按定义的合并函数组合后仍满足业务不变量,就允许各端先完成本地事务再合并。若某种操作会令两个各自有效的状态合并成无效状态,就要为该操作安排协调或调整模型。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 13. Distributed Transactions 合流、读原子性与 RAMP · 查看原书依据

      One more example, discussing costs of serializability and attempting to reduce the amount of coordination while still providing strong consistency guarantees, is coordination avoidance [BAILIS14b]. Coordination can be avoided, while preserving data integrity constraints, if operations are invariant confluent. Invariant Confluence (I-Confluence) is defined as a property that

    参考来源

    - 位置:《Database Internals》Chapter 13. Distributed Transactions(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch13.html#idm46104529479016,段 126) - 结论依据:原文用有效状态合并后的有效性来定义 I-Confluence,并列出全局有效、可用、收敛和无协调四项要求。 - 原始内容:One more example, discussing costs of serializability and attempting to reduce the amount of coordination while still providing strong consistency guarantees, is coordination avoidance [BAILIS14b]. Coordination can be avoided, while preserving data integrity constraints, if operations are invariant confluent. Invariant Confluence (I-Confluence) is defined as a property that