Monday, November 17, 2008

2PC (Two-phase commit protocol)

2PC is the algorithm which enables all entities in distributes system to process a transaction. Typically, it has serious deadlock problems when one of the nodes is not receive any further progress signal from other entities due to errors. To resolve this, Distributed Two-phase Commit Protocol was introduced. In the D2PC, Tree 2PC protocol and dynamic 2PC protocol are exist as sub concept.

commit-request phase
commit phase

No comments: