Method and apparatus for distributed transactions in a data communication network
First Claim
1. A method for executing a global transaction performed by a transaction orchestrator node in a transaction execution system, the global transaction comprising transaction executing instances, the transaction executing instances comprising at least one reliable transaction executing instance supporting a reserve/commit protocol and one unreliable transaction executing instance that does not support a reserve/commit protocol, the transaction orchestrator node performing operations comprising:
- receiving a global transaction initiation message comprising a plurality of sub transactions for execution by corresponding ones of the transaction executing instances;
sorting the plurality of the sub transactions for sending at least one prepare transaction message associated with the at least one reliable transaction executing instance;
sending the at least one prepare transaction message to corresponding ones of the at least one reliable transaction executing instance for corresponding ones of the plurality of sub transactions associated with the at least one reliable transaction executing instance;
upon receiving confirmation of receipt of all of the at least one prepare transaction message, sending an execution message to the one unreliable transaction executing instance for a corresponding sub transaction associated with the one unreliable transaction executing instance; and
if said execution message is successful, sending a commit prepared transaction to the at least one reliable transaction executing instance for the corresponding sub transactions.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and transaction orchestrator node for executing a global transaction in a transaction execution system. The transaction execution system is involving at least one reliable transaction executing instance supporting a reserve/commit protocol and one unreliable transaction executing instance that does not support a reserve/commit protocol. The transaction orchestrator node is receiving a global transaction initiation message involving plural sub transactions for execution by the involved corresponding transaction executing instances and sending a prepare transaction message to involved reliable transaction executing instances for corresponding sub transactions. Upon receiving confirmation of all prepare transaction messages the transaction orchestrator node is sending an execution message to the involved unreliable transaction executing instance for a corresponding sub transaction. If the execution message is successful the transaction orchestrator node is sending a commit prepared transaction to the involved reliable transaction executing instances for the corresponding sub transactions.
-
Citations
19 Claims
-
1. A method for executing a global transaction performed by a transaction orchestrator node in a transaction execution system, the global transaction comprising transaction executing instances, the transaction executing instances comprising at least one reliable transaction executing instance supporting a reserve/commit protocol and one unreliable transaction executing instance that does not support a reserve/commit protocol, the transaction orchestrator node performing operations comprising:
-
receiving a global transaction initiation message comprising a plurality of sub transactions for execution by corresponding ones of the transaction executing instances; sorting the plurality of the sub transactions for sending at least one prepare transaction message associated with the at least one reliable transaction executing instance; sending the at least one prepare transaction message to corresponding ones of the at least one reliable transaction executing instance for corresponding ones of the plurality of sub transactions associated with the at least one reliable transaction executing instance; upon receiving confirmation of receipt of all of the at least one prepare transaction message, sending an execution message to the one unreliable transaction executing instance for a corresponding sub transaction associated with the one unreliable transaction executing instance; and if said execution message is successful, sending a commit prepared transaction to the at least one reliable transaction executing instance for the corresponding sub transactions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A transaction orchestrator node for executing a global transaction in a transaction execution system comprising at least one reliable transaction executing instance supporting a reserve/commit protocol and one unreliable transaction executing instance that does not support a reserve/commit protocol, the node comprising:
-
a processor; a memory containing instructions that, when executed by the processor, cause the node to perform operations comprising; receiving a global transaction initiation message comprising a plurality of sub transactions for execution by corresponding ones of the transaction executing instances; sorting the plurality of the sub transactions for sending at least one prepare transaction message associated with the at least one reliable transaction executing instance; sending the at least one prepare transaction message to corresponding ones of the at least one reliable transaction executing instance for corresponding ones of the plurality of sub transactions associated with the at least one reliable transaction executing instance; upon receiving confirmation of receipt of all the at least one prepare transaction message, sending an execution message to the one unreliable transaction executing instance for a corresponding sub transaction associated with the one unreliable transaction executing instance; and if said execution message is successful sending a commit prepared transaction to the at least one reliable transaction executing instance for the corresponding sub transactions. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product, comprising a non-transitory computer readable medium and a computer program stored on the computer readable medium, the computer program comprising computer readable code means, which when run in a computer being configured as a transaction orchestrator node for executing a global transaction in a transaction execution system comprising transaction executing instances, the transaction executing instances comprising at least one reliable transaction executing instance supporting a reserve/commit protocol and one unreliable transaction executing instance that does not support a reserve/commit protocol, causes the computer to perform operations comprising:
-
receiving a global transaction initiation message comprising a plurality of sub transactions for execution by corresponding ones of the transaction executing instances; sorting the plurality of the sub transactions for sending at least one prepare transaction message associated with the at least one reliable transaction executing instance; sending the at least one prepare transaction message to corresponding ones of the at least one reliable transaction executing instance for corresponding ones of the plurality of sub transactions associated with the at least one reliable transaction executing instance; upon receiving confirmation of receipt of all of the at least one prepare transaction message, sending an execution message to the one unreliable transaction executing instance for a corresponding sub transaction associated with the one unreliable transaction executing instance; and if said execution message is successful, sending a commit prepared transaction to the at least one reliable transaction executing instance for the corresponding sub transactions.
-
Specification