Compensation of data item processing
Abstract
A data processing method, apparatus, computer program product, and service for assuring timely execution of compensation for non-transactional work which is carried out in a transaction under which a data item is processed. A lock is taken before the data item is processed and, in the event the transaction fails, the same lock is also obtained before the data item is re-processed. As a result, re-processing of the data item is held until the lock obtained by the failed transaction is released and this is only done once compensation of non-transactional work is complete. Thus, compensation completes before the message is re-processed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer implemented data processing method for compensating for non-transactional work carried out in a transaction under which a data item is processed, the method comprising: electrically obtaining a lock before the data item is processed by a first thread, wherein the lock restricts reprocessing of the data item by a second thread until the lock is released; electrically responsive to an indication that the transaction failed, compensating for non-transactional work carried out under the transaction; electrically releasing the lock after compensating for non-transactional work is complet
- Claim 2Depends on #1
The computer implemented method of claim 1 further comprising registering a compensation service with a transaction service as a participant in the transaction, wherein the transaction outcome is rece
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (3)
- Christoph von Praun et al., "Static Conflict Analysis for Multi-Threaded Object-Oriented Programs", Laboratory for Software Technology, ETH Zurich, 8092 Zurich, Switzerland.
- Samik Basu, (Samik Basu), Scott A. Smolka (State University of New York at Stony Brook), "Model Cheking the JAVA Metalocking Algorithm".
- Scott D. Stoller, et al , "Transformations for Model Checking Distributed Java Programs" , Computer Science Dept., SUNY at Stony Brook, Stony Brook, NY 11794-4400.