December 2018
Intermediate to advanced
500 pages
12h 19m
English
While ACID transactions are reliable and offer an easy programming model, they are not scalable for large datasets. For example, in the preceding diagram, if there needs to be ACID semantics, all the different nodes would need to coordinate a distributed transaction, driven by a Transaction Manager. A typical two-phase distributed transaction from the XA Resource spec is shown here:

XA transactions work with two transaction IDs: a global transaction ID and local transaction ID (xid) for each XA Resource. In the first phase of the two-phase protocol (prepare), the Transaction Manager preps each resource participating ...
Read now
Unlock full access