Ultimate locking mechanism
Abstract
A system and method for an ultimate locking mechanism which minimizes a lock period for modifying shared data in a shared database. A process is executed as one or more initial instances and a final instance. Each initial instance reads the shared data from the shared database without acquiring a lock on the shared database. The locking mechanism obtains results that are directed to modifying the shared data and buffers the results at least partially. During or after each of the initial instances, it determines whether the next instance is to be the final one (e.g., the estimated runtime of the next instance is acceptable as the lock period). In response to a positive determination, the final instance of the process is executed. The final instance uses at least one of the buffered results during execution and acquires the lock on the shared database to modify the shared data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for minimizing a lock period to modify shared data in a shared database, the method comprising: executing one or more initial instances of a process without acquiring a lock on the shared database, the process comprising a plurality of instances with each instance being one of the initial instances or a final instance, each initial instance reading the shared data and generating a result that is at least partially stored in a buffer; determining that a next instance is the final instance of the process based on an estimated runtime of the next instance by determin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (38)
Non-Patent Literature (1)
- Yannis Smaragdakis, Anthony Kay, Reimer Behrends, and Michal Young. General and efficient locking without blocking. In MSPC '08: Proc. 2008 ACM SIGPLAN workshop on Memory Systems Performance and Correctness, pp. 1-5, Mar. 2008.