V2EX  ›  英汉词典

Two-phase Commit

释义 Definition

两阶段提交(协议):分布式系统/数据库中的一种原子提交协议,用于让多个参与者(节点)对同一事务达成一致:要么全部提交(commit),要么全部回滚(abort)。通常分为准备阶段(prepare/vote)提交阶段(commit/abort)。也常简称为 2PC。(在网络故障下可能出现阻塞,是其经典局限之一。)

发音 Pronunciation (IPA)

/ˌtuː feɪz ˈkəmɪt/

例句 Examples

The system uses two-phase commit to keep all services consistent.
系统使用两阶段提交来保持所有服务的一致性。

In a distributed transaction, two-phase commit coordinates the participants so the database either commits everywhere or aborts everywhere, even if some nodes respond slowly.
在分布式事务中,两阶段提交会协调各参与者,使数据库要么在所有节点都提交,要么在所有节点都中止(回滚),即使有些节点响应很慢。

词源 Etymology

该术语由 two-phase(两阶段的) + commit(提交) 组成;“commit”源自拉丁语 committere,有“交付、托付、使承担”的含义。在数据库语境里,“commit”专指把事务结果正式写入并生效;“two-phase”强调协议按两个步骤推进以保证原子性。

相关词 Related Words

文学/著作中出现 Literary Works

  • Transaction Processing: Concepts and Techniques(Jim Gray, Andreas Reuter)
  • Database System Concepts(Silberschatz, Korth, Sudarshan)
  • Principles of Distributed Database Systems(M. Tamer Özsu, Patrick Valduriez)
  • Designing Data-Intensive Applications(Martin Kleppmann)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1844 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 11:39 · PVG 19:39 · LAX 03:39 · JFK 06:39
♥ Do have faith in what you're doing.