Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
networking and databases, the three-phase commit protocol is a
distributed algorithm which lets all nodes in a distributed system agree
to commit a transaction. Unlike the two-phase commit protocol however,
3PC is non-blocking. Specifically, 3PC places an upper bound on the
amount of time required before a transaction either commits or aborts.
This property ensures that if a given transaction is attempting to
commit via 3PC and holds some resource locks, it will release the locks
after the timeout. 3PC was originally described by Dale Skeen and
Michael Stonebraker in their paper, "A Formal Model of Crash Recovery in
a Distributed System".