V2EX  ›  英汉词典

Three-Phase Commit

Definition / 释义

three-phase commit(三阶段提交,简称 3PC):一种用于分布式事务的原子提交协议,通过“准备(prepare)—预提交(pre-commit)—提交(commit)”三个阶段,尽量降低两阶段提交(2PC)在故障情况下可能出现的阻塞问题,从而提高系统在部分故障时继续推进决策的能力。(在某些网络分区/时钟不可靠等情况下仍可能出现问题;该术语也常作为理论模型与2PC对比讨论。)

Pronunciation / 发音

/ˌθriː feɪz kəˈmɪt/

Etymology / 词源

该短语由 three-phase(三阶段的) + commit(提交) 组成。它源于分布式数据库与分布式系统领域对“原子提交(atomic commitment)”问题的研究命名方式:用“阶段数(phase)”来区分协议流程复杂度与容错特性(如 two-phase commit、three-phase commit)。

Examples / 例句

Our system uses three-phase commit to reduce blocking during failures.
我们的系统使用三阶段提交来降低故障时的阻塞风险。

In a wide-area distributed transaction, three-phase commit adds a pre-commit step so participants can reach a safer decision if the coordinator crashes.
在广域网的分布式事务中,三阶段提交增加了预提交步骤,使得当协调者崩溃时,各参与者更可能做出更安全的决策。

Related Words / 相关词

Literary & Notable Works / 文学与著作例证

  • Distributed Systems: Principles and Paradigms(Andrew S. Tanenbaum, Maarten van Steen)——介绍分布式事务与提交协议时常对比2PC与3PC。
  • Transaction Processing: Concepts and Techniques(Jim Gray, Andreas Reuter)——讨论事务处理与提交/恢复机制,涉及原子提交协议背景。
  • Concurrency Control and Recovery in Database Systems(Philip A. Bernstein, Vassos Hadzilacos, Nathan Goodman)——在分布式数据库的并发控制与恢复语境中提及提交协议家族(包括3PC的相关讨论)。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1844 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 11:39 · PVG 19:39 · LAX 03:39 · JFK 06:39
♥ Do have faith in what you're doing.