List:General Discussion« Previous MessageNext Message »
From:Stephen Tu Date:November 17 2012 4:23pm
Subject:Re: XA Transactions and number of Round Trips
View as plain text  
On Sat, Nov 17, 2012 at 5:21 AM, Cary Cherng <ccherng@stripped> wrote:

> Does this mean that two-phase commit incurs 3 round trips? One round trip
> for the branches of the global transaction to be sent, executed at their
> local site, and a response. A second round trip for the prepare phase
> message and response. A third round trip for the commit phase message and
> response.

From my understanding of XA, I think it's even worse than three round
trips, because you also have to issue XA BEGIN/XA END to delimit the 2PC
transaction. So I think there are five round trips involved in total.

XA Transactions and number of Round TripsCary Cherng17 Nov
  • Re: XA Transactions and number of Round TripsStephen Tu17 Nov