Methods and apparatus to implement parallel transactions
Abstract
The present disclosure describes a unique way for each of multiple processes to operate in parallel using (e.g., reading, modifying, and writing to) the same shared data without causing corruption to the shared data. For example, each of multiple processes utilizes current and past data values associated with a global counter or clock for purposes of determining whether any shared variables used to produce a respective transaction outcome were modified (by another process) when executing a respective transaction. If a respective process detects that shared data used by respective process was modified during a transaction, the process can abort and retry the transaction rather than cause data corruption by storing locally maintained results associated with the transaction to a globally shared data space.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: at one or more computers, maintaining a set of shared data utilized by multiple processes executing in parallel, providing a globally accessible version information variable that changes over time, for each of at least two variables stored in the set of shared data, maintaining a corresponding location to store a respective instantaneous data value associated with the globally accessible version information variable, receiving a first query for a current data value associated with the globally accessible version information variable around a respective start time of a tran
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Afek, Y., Attiya, H., Dolev, D., Gafni, E., Merritt, M., Shavit, N., "Atomic Snapshots of Shared Memory", J. ACM 40(4), 1993, pp. 873-890.
- Agesen, O., Detlefs, D., Garthwaite, A., Knippel, R., Ramakrishna, Y.S., White, D., "An Efficient Meta-lock for Implementing Ubiquitous Synchronization", ACM SIGPLAN Notices 34(10), 1999, pp. 207-222.
- Ananian, C.S., Asanovic, K., Kuszmaul, B.C., Leiserson, C.E., Lie, S., "Unbounded Transactional Memory", HPCA '05: Proceedings of the 11th International Symposium on High-Performance Computer Architecture, Washington, DC, IEEE Computer Society, 2005, pp. 316-327.
- Ananian, C.S., Rinard, M., "Efficient Object-Based Software Transactions", Proceedings of Synchronization and Concurrency in Object-Oriented Languages (SCOOL), ACM, 2005.
- Bloom, B.H., "Space/Time Trade-offs in Hash Coding with Allowable Errors", Communications of the ACM, vol. 13, No. 7, Jul. 1970, pp. 422-426.