I'm not doing much (ok any) 2PC (two-phased commit) these days. I used to be pretty hip on XA in the Java world. I still run into people that yell at me about XA. Perhaps I wear size 16 burgundies (clown reference for the un-indoctrinated).
XA is great in theory and fun to drop in meetings (not quite as fun as 2PC), but:
- Slow (sync to disc)
- Expensive (resources)
- Complex
- Implementations often buggy
- Not always easy to find XA impls (try VSE mainframe)
- JMS transaction + JDBC
- Compensating transaction if necessary
2 comments:
Every time I tried to find the XA spec, the only way to get it was to pay a hundo or more to buy it. Proprietary protocols are just as bad whether they are encryption or transaction protocols. I fart in your general direction, XA.
XA (when you can find a copy) is an OK reference. I worked on BTP for OASIS and would say that BTP tried to provide an OSI type reference for service based transactionality. That is it defined aspects or levels of transactionality that could be used or not based on the specific need.
It is freely available from OASIS thru the following link (it's well hidden otherwis)
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=business-transaction
Post a Comment