知识卡片

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

线性一致性按对象组合

理解等级:高级

每个对象的操作历史若分别可线性化,可以组合成一个也可线性化的历史。一个事务要同时改变两个独立对象时,仍要额外保证事务的原子可见性。数据库可以通过共识协调单对象的可见点,代价是跨副本网络通信和排序。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 11. Replication and Consistency(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch11.html#idm46104530307432,段 118) - 结论依据:原文同时说明线性一致性的局部组合性与跨对象操作仍需同步。 - 原始内容:Interestingly, linearizability in its traditional understanding is regarded as a local property and implies composition of independently implemented and verified elements. Combining linearizable histories produces a history that is also linearizable [HERLIHY90]. In other words, a system in which