About Micro Services Distributed Transaction

Distributed Transaction Solutions:

A two-step XA protocol submitted;

 

II. The final consistency of message transactions +

     The so-called news of the transaction is based on a two-stage submission of messaging middleware is a special use of messaging middleware essence, it is the local transaction message and placed in a distributed transaction, or to ensure the success of the local operation is successful and outgoing messages succeed or both fail.

     Open source RocketMQ to support this feature. The program uses a consistent final, at the expense of consistency, in exchange for a substantial performance boost. There is a risk of inconsistent data.

Guess you like

Origin www.cnblogs.com/ZJOE80/p/12181728.html