Title
Commutativity-based locking for nested transactions
Abstract
We present a new model for describing and reasoning about transaction-processing algorithms. The model provides a comprehensive, uniform framework for rigorous correctness proofs. The model generalizes previous work on concurrency control to encompass nested transactions and type-specific concurrency control algorithms. Using our model, we describe general conditions for a concurrency control algorithm to be correct-i.e., to ensure that transactions appear to be atomic. We also present a new concurrency control algorithm for abstract data types in a nested transaction system. The algorithm uses commutativity properties of operations to allow high levels of concurrency. The results of operations, in addition to their names and arguments, can be used in checking for conflicts, further increasing concurrency. We show, using our general model, that the new algorithm is correct. We also present a read-update locking algorithm due to Moss and prove it correct. The correctness proofs for the algorithms are modular, in the sense that we consider a system structure consisting of many objects, with concurrency control and recovery performed independently at each object. We define a condition on individual objects, called dynamic atomicity, which has the property that as long as all objects in the system are dynamic atomic, transactions will appear atomic. We then show that each algorithm, considered at a single object, ensures dynamic atomicity. This means that different algorithms can be used at different objects; as long as each ensures dynamic atomicity, global atomicity of transactions is guaranteed.
Year
DOI
Venue
1990
10.1016/0022-0000(90)90034-I
Journal of Computer and System Sciences
Keywords
DocType
Volume
nested transaction,commutativity-based locking,nested transactions,automata,reasoning,algorithms
Journal
41
Issue
ISSN
ISBN
1
Journal of Computer and System Sciences
3-540-19626-9
Citations 
PageRank 
References 
31
13.03
33
Authors
4
Name
Order
Citations
PageRank
Alan David Fekete11610201.97
Nancy A. Lynch2101701838.61
Michael J. Merritt32156412.40
William E. Weihl42614903.11