• DocumentCode
    1689144
  • Title

    An empirical study of commutativity in application code

  • Author

    Wu, Paul ; Fekete, Alan

  • Author_Institution
    Sydney Univ., NSW, Australia
  • fYear
    2003
  • Firstpage
    361
  • Lastpage
    369
  • Abstract
    A typical object database manages concurrency control by instance locking, based on the identification of instance operations as "read" or "write". An alternative theory shows that additional concurrency can be obtained based on operation commutativity. Under commutativity theory, activities can be allowed concurrently as long as they commute, that is, the effect is the same in either order. In this paper, we study an extensive commercial application from a telecommunications domain, and determine how much concurrency is actually present for commutativity theory to use. Our study extends to identify not only the operations that commute, but the reasons for their commutativity as well. We separated the commutative operations into three categories: those that commute because both are read operations, those that commute because different fields are accessed, and those that commute for semantic reasons. By doing this in our analysis we were able to show a comparison in concurrency potential between commutative locking and the two other common locking protocols in existence: instance locking and attribute locking.
  • Keywords
    concurrency control; object-oriented databases; programming language semantics; protocols; switching theory; application code commutativity; attribute locking; commutativity analysis; commutativity theory; concurrency control management; concurrency potential; concurrent activity; field access; instance locking; instance operation identification; locking protocol; object database; semantic locking; telecommunications; Access protocols; Application software; Communication industry; Concurrency control; Concurrent computing; Databases; Finance; Software maintenance; Switches; Telecommunication switching;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Database Engineering and Applications Symposium, 2003. Proceedings. Seventh International
  • ISSN
    1098-8068
  • Print_ISBN
    0-7695-1981-4
  • Type

    conf

  • DOI
    10.1109/IDEAS.2003.1214956
  • Filename
    1214956