The most known technique of implementing distributed transaction is the "two-phase commit" (2PC). Here is a quick summary of how this technique works: - Active phase: After the transaction is created and before the "commit" message is issued by the creator, the transaction is in the "active" state. During this phase, resource managers can "enlist" and become part of the transaction. When "commit" is issued, the transaction moves to Phase1. - Phase1 (preparing phase): in which the superior transaction manager (TM), after receiving the Commit mes
read more »
Be the first to post a Comment!