Method and apparatus for providing in-memory checkpoint services within a distributed transaction
View Patent ↗A method and apparatus for performing in-memory checkpoint services as a callable resource within a distributed transaction. As such, in-memory checkpoint processes can be utilized by an application as the application would use any resource available to the computer network via a distributed transaction.
1. A method for performing distributed transactions, comprising:
receiving a first distributed transaction on a first interface of a transaction manager, wherein
the first distributed transaction is received from an application program executing on a server, and
the first distributed transaction comprises
a first request to access a first resource for the application program, and
a second request to store checkpoint data of the application program;
establishing a first resource session with a first resource manager via a second interface of the transaction manager, in response to the receiving the first distributed transaction, wherein
the first resource manager is associated with the first resource; and
establishing a second resource session with a second resource manager via a third interface of the transaction manager, in response to the receiving the first distributed transaction, wherein
the second resource manager is associated with an in-memory checkpoint process,
the in-memory checkpoint process stores the checkpoint data of the application, and
the checkpoint data comprises critical memory information and states of the application at a particular instant in time.
2. The method of claim 1 wherein the second resource manager supplies a database service to the application program.
3. The method of claim 1 wherein the first interface is an TX interface.
4. The method of claim 1 wherein the second interface and third interface are XA interfaces.
5. The method of claim 1 wherein the first, second, and third interfaces are supported by at least one of J2EE, CORBA and X/Open.
6. One or more computer-readable media that store computer executable instructions, wherein one or more computer systems implement a method for performing distributed transactions in response to executing the instructions, the method comprising:
receiving a first distributed transaction on a first interface of a transaction manager, wherein
the first distributed transaction is received from an application program executing on a server, and
the first distributed transaction comprises
a first request to access a first resource for the application program, and
a second request to store checkpoint data of the application program;
establishing a first resource session with a first resource manager via a second interface of the transaction manager, in response to the receiving the first distributed transaction, wherein
the first resource manager is associated with the first resource; and
establishing a second resource session with a second resource manager-via a third interface of the transaction manager, in response to the receiving the first distributed transaction, wherein
the second resource manager is associated with an in-memory checkpoint process the in-memory checkpoint process stores the checkpoint data of the application, and
the checkpoint data comprises critical memory information and states of the application at a particular instant in time.
7. The computer-readable media of claim 6 wherein the first interface is a TX interface.
8. The computer-readable media of claim 6 wherein the second interface and third interface are XA interfaces.
9. The computer-readable media of claim 6 wherein the first, second, and third interfaces are supported by at least one of J2EE, CORBA and X/Open.