Method for transaction processing with parallel execution
Abstract
A method for using available server threads to process resources and reduce the overall time of performing XA interactions in two-phase commit protocol implemented by the transaction manager. A TM processing XA interactions dispatches interaction commands for multiple resources to a thread manager, which dispatches the commands to idle server threads. In one embodiment, the TM attempts to dispatch all but one of the interaction commands to separate threads. The primary thread then processes the remaining resource command. Any commands relating to dispatch requests that were unable to be dispatched to separate threads due to unavailability are processed by the primary thread. Once the primary server has processed its interaction commands and received a signal indicating the threads receiving dispatch requests have completed their respective processing of dispatched commands, the next group of commands is processed in a similar manner.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for implementing a two-phase commit protocol, comprising: associating, via a transaction manager, a plurality of resources in a transaction, wherein the plurality of resources are applied in the transaction using a prepare phase and a commit phase, wherein the prepare phase comprises a plurality of prepare operations, each of which is associated with one of the plurality of resources, and wherein the commit phase comprises a plurality of commit operations, each of which is also associated with one of the plurality of resources; dispatching, via a thread pool manager, a second prepare
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Jayant R. Haritsa, The PROMPT Real-Time Commit Protocol, Feb. 2000, IEEE Transactions on Parallel and Distributed Systems, vol. 11, No. 2, p. 162.
- Oracle8i Concepts Release 8.1.5/ Parallel Execution. Copyright 1999. Oracle Corporation. http://www.cs.umbc.edu/help/oracle8/server.815/a67781/c22para1.htm.
- Sun Microsystems, Inc., Java Transaction API (JTA) Specification, v1.0.1, Apr. 29, 1999, http://java.sun.com/products/jta.
- Sun Microsystems, Inc., Java(TM) 2 Platform Enterprise Edition Specification, v1.3, Jul. 27, 2001, http://java.sun.com/j2ee/j2ee-1-3-fr-spec.pdf.
- The Open Group, Distributed Transaction Processing: The XA Specification, Dec. 1991, www.opengroup.org/products/publications/catalog/c193.htm.