知识卡片

延伸参考卡 · 2313.e.5.f.10.a.4.a.1.c.4

Spanner组合时间与共识

理解等级:中级

Spanner按分区复制数据,用Paxos保障复制决策,以跨分区事务协议协调事务,并使用TrueTime给时间不确定性提供界限。它展示不同机制协作,而非仅有“全局精准时钟”就自动一致;跨地域协调仍付出延迟成本。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Consistency and Availability · 查看原书依据

      Google Spanner is a globally distributed database system that provides strong consistency and high availability. Spanner achieves this by using a combination of techniques, including a novel time synchronization mechanism called TrueTime and a two-phase commit protocol for distributed transactions.

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第04章《Consistency and Availability》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch04.xhtml) - 结论依据:原文的机制或对比支持以下核心判断:Spanner按分区复制数据,用Paxos保障复制决策,以跨分区事务协议协调事务,并使用TrueTime给时间不确定性提供界限。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:Google Spanner is a globally distributed database system that provides strong consistency and high availability. Spanner achieves this by using a combination of techniques, including a novel time synchronization mechanism called TrueTime and a two-phase commit protocol for distributed transactions.