Performance evaluation of cautious waiting
- 1 September 1992
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 17 (3) , 477-512
- https://doi.org/10.1145/132271.132275
Abstract
We study a deadlock-free locking-based concurrency control algorithm, called cautious waiting , which allows for a limited form of waiting. The algorithm is very simple to implement. We present an analytical solution to its performance evaluation based on the mean-value approach proposed by Tay et al. [18]. From the modeling point of view, we are able to do away with a major assumption used in Tay's previous work, and therefore capture more accurately both the restart and the blocking rates in the system. We show that to solve for this model we only need to solve for the root of a polynomial. The analytical tools developed enable us to see that the cautious waiting algorithm manages to achieve a delicate balance between restart and blocking, and therefore is superior (i.e., has higher throughput to both the no-waiting (i.e., immediate restart) and the general waiting algorithms under a wide range of system parameters. The study substantiates the argument that balancing restart and blocking is important in locking systems.Keywords
This publication has 12 references indexed in Scilit:
- Concurrency control performance modeling: alternatives and implicationsACM Transactions on Database Systems, 1987
- Limitations of concurrency in transaction processingACM Transactions on Database Systems, 1985
- On the modeling of parallel access to shared dataCommunications of the ACM, 1983
- On optimistic methods for concurrency controlACM Transactions on Database Systems, 1981
- Analysis of locking policies in database management systemsCommunications of the ACM, 1980
- Concurrency control in a system for distributed databases (SDD-1)ACM Transactions on Database Systems, 1980
- The serializability of concurrent database updatesJournal of the ACM, 1979
- System level concurrency control for distributed database systemsACM Transactions on Database Systems, 1978
- Notes on data base operating systemsPublished by Springer Nature ,1978
- The notions of consistency and predicate locks in a database systemCommunications of the ACM, 1976