知识卡片

延伸参考卡 · 10294.a.4.a.2.d.1.a.2 · 生成模型:未记录

Calvin先定序再执行

理解等级:高级

Calvin 在执行前用定序器将事务排成可复制的批次。调度器以该输入顺序解决冲突,同时允许可并行的工作展开。副本持有同一输入并确定性执行,就不必在执行阶段另行商定结果。事务执行要事前知道读写集合,依赖运行时读出结果再决定写集合的事务更难直接处理。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 13. Distributed Transactions Calvin 的确定性执行 · 查看原书依据

      To achieve deterministic order, Calvin uses a sequencer: an entry point for all transactions. The sequencer determines the order in which transactions are executed, and establishes a global transaction input sequence. To minimize contention and batch decisions, the timeline is split into epochs. The sequencer collects transactions and

    参考来源

    - 位置:《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#calvin,段 73) - 结论依据:原文从定序器和 epoch 批处理进入确定性调度,并列出工作线程如何分发已知读集合。 - 原始内容:To achieve deterministic order, Calvin uses a sequencer: an entry point for all transactions. The sequencer determines the order in which transactions are executed, and establishes a global transaction input sequence. To minimize contention and batch decisions, the timeline is split into epochs. The sequencer collects transactions and