Abstract
A number of recent studies have proposed lock conflict resolution methods to improve the performance of standard locking, i.e., the two-phase locking concurrency control method with the general waiting policy. The wait depth limited (WDL) method, which is an improvement on the running priority (RPS) method, outperforms other known concurrency control methods, except optimistic concurrency control methods in a system with “infinite” processing capacity. This paper provides an analysis of RPS, which is extensible to modified WDL with a performance comparable to WDL, but requiring fewer comparisons to determine the transaction to be aborted. The analyses of RPS and modified WDL are much more complicated than those of the no waiting and the cautious waiting methods, which only abort transactions making conflicting lock requests, while both active and blocked transactions can be aborted by RPS and modified WDL. We also extend the analysis to a system with multiple transaction classes, e.g., as determined by the number of requested locks, which occur according to prespecified frequencies, i.e., the fractions of transactions in the input stream. Our analysis ensures that the composition of completed transactions as affected by transaction aborts is not different from the incoming transaction frequencies. It follows from validation results that the analysis of RPS is quite accurate up to the point at which the peak throughput is attained in an infinite resource system. We also demonstrate the correspondence between flow diagrams and semi-Markov chains and provide justifications for using the exponential distribution for transaction waiting times.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.