DTP digital currency transaction
Publish: 2021-04-14 04:47:26
1. Xa is a two-phase commit protocol defined by X / open DTP group. XA is supported locally by many databases (such as Oracle and DB2) and Middleware Tools (such as CICS and tuxedo)
x / open DTP Model (1994) includes four parts: application program (AP), transaction manager (TM), resource manager (RM) and communication resource manager (CRM). In this model, transaction manager (TM) is transaction middleware, resource manager (RM) is database, and communication resource manager (CRM) is message middleware
generally, one database cannot know what other databases are doing. Therefore, in a DTP environment, transaction middleware is necessary to notify and coordinate the submission or rollback of related databases. A database only maps its own operations (recoverable) to global transactions
XA is the interface specification (i.e. interface function) between transaction middleware and database defined by X / open DTP, which is used by transaction middleware to inform the start and end of database transaction, as well as submit and rollback. Xa interface function is provided by database manufacturer. Usually, transaction middleware and database use two-phase commit to complete a global transaction through XA interface specification. The basis of XA specification is two-phase commit protocol.
x / open DTP Model (1994) includes four parts: application program (AP), transaction manager (TM), resource manager (RM) and communication resource manager (CRM). In this model, transaction manager (TM) is transaction middleware, resource manager (RM) is database, and communication resource manager (CRM) is message middleware
generally, one database cannot know what other databases are doing. Therefore, in a DTP environment, transaction middleware is necessary to notify and coordinate the submission or rollback of related databases. A database only maps its own operations (recoverable) to global transactions
XA is the interface specification (i.e. interface function) between transaction middleware and database defined by X / open DTP, which is used by transaction middleware to inform the start and end of database transaction, as well as submit and rollback. Xa interface function is provided by database manufacturer. Usually, transaction middleware and database use two-phase commit to complete a global transaction through XA interface specification. The basis of XA specification is two-phase commit protocol.
Hot content