Invention Grant
- Patent Title: Parallel transaction execution with a thread pool
- Patent Title (中): 使用线程池执行并行事务
-
Application No.: US12643775Application Date: 2009-12-21
-
Publication No.: US08375359B2Publication Date: 2013-02-12
- Inventor: Alexander J. Somogyi , Adam Messinger , Anno R. Langen
- Applicant: Alexander J. Somogyi , Adam Messinger , Anno R. Langen
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Fliesler Meyer LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/46

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.
Public/Granted literature
- US20100100624A1 PARALLEL TRANSACTION EXECUTION WITH A THREAD POOL Public/Granted day:2010-04-22
Information query