XA and 2PC

An XA compliant driver is a driver that can participate in an XA compliant transaction as defined by the X/Open specification. The XA compliance enables the resources (databases, queues,…) to participate in distributed transactions, typically with Two-Phase Commit.

XA stands for "eXtended Architecture" and is an X/Open group standard for executing a "global transaction" that accesses more than one back-end data-store.

2PC is not usually a desired thing due to its costs and it is better to use compensating transactions instead.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License