Parallel transaction execution with a thread pool
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: 25 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system having one or more microprocessors to perform distributed transaction processing, comprising: a plurality of resources that are associated with a transaction; a transaction manager on one or more server, wherein the transaction manager manages a thread pool with a plurality of server threads, and a primary thread for processing resource access commands and transaction operations for one of the resources; wherein the transaction manager uses the thread pool to perform transaction operations on the other of the plurality of resources, wherein, the transaction manager dispatches the tran
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,885,023 B1 | Asynchronous processing for synchronous requests in a database | 2021 | 20 |
References Cited — Backward Prior Art (25)
Non-Patent Literature (4)
- David Carmona, "Programming the Thread Pool in the .NET Framework", Jun. 2002, retrieved from <http://msdn.microsoft.com/en-us/library/ms973903(d=printer).aspx> total pp. 21.
- David Carmona, "Programming the Thread Pool in the .NET Framework", Jun. 2002, retrieved from total pp. 21.
- Doug Lea, "Concurrent Programming in Java: Creating Threads" Jun 1, 2001, retrieved from <http://www.informit.com/articles/printerfriendly.aspx?p=167821> total pp. 61.
- Doug Lea, "Concurrent Programming in Java: Creating Threads" Jun 1, 2001, retrieved from total pp. 61.