SYSTEM AND PROGRAM PRODUCTS FOR EFFICIENTLY LOCKING RESOURCES OF A GLOBAL DATA REPOSITORY
First Claim
Patent Images
1. At least one program storage device readable by a machine, tangibly embodying at least one program of instructions executable by the machine to perform a method of managing the locking of resources of a data repository, said method comprising:
- having a data repository comprising a hierarchical structure of a plurality of dependently sequenced resources, said hierarchical structure comprising one or more resources having a reference-based relationship and one or more resources having a containment-based relationship;
determining whether a relationship between one resource and another resource of the data repository is a containment-based relationship or whether the relationship is a reference-based relationship, wherein the relationship between the one resource and the another resource is a containment-based relationship if the one resource is accessed through the another resource and if there is only one reference from instances of the one resource to the another resource, and the relationship between the one resource and the another resource is a reference-based relationship if the one resource is accessed through the another resource and if there are more than one reference from instances of the one resource to the another resource;
locking at least one resource of the one resource and the another resource using a chained locking strategy, in response to the determining indicating the relationship is a containment-based relationship; and
locking at least one resource of the one resource and the another resource using a reference-based locking strategy, in response to the determining indicating the relationship is a reference-based relationship, wherein a chained locking strategy is a different locking strategy than a reference-based locking strategy, and wherein said locking of said at least one resource is further based on an operation to be performed.
0 Assignments
0 Petitions
Accused Products
Abstract
Concurrent access to a global data repository is provided, while minimizing the number of locks acquired to provide the concurrent access. One or more resources within the global data repository have predefined relationships with one or more other resources of the repository. Thus, locking for a particular resource is based on its relationship with one or more other resources of the repository.
68 Citations
20 Claims
-
1. At least one program storage device readable by a machine, tangibly embodying at least one program of instructions executable by the machine to perform a method of managing the locking of resources of a data repository, said method comprising:
-
having a data repository comprising a hierarchical structure of a plurality of dependently sequenced resources, said hierarchical structure comprising one or more resources having a reference-based relationship and one or more resources having a containment-based relationship; determining whether a relationship between one resource and another resource of the data repository is a containment-based relationship or whether the relationship is a reference-based relationship, wherein the relationship between the one resource and the another resource is a containment-based relationship if the one resource is accessed through the another resource and if there is only one reference from instances of the one resource to the another resource, and the relationship between the one resource and the another resource is a reference-based relationship if the one resource is accessed through the another resource and if there are more than one reference from instances of the one resource to the another resource; locking at least one resource of the one resource and the another resource using a chained locking strategy, in response to the determining indicating the relationship is a containment-based relationship; and locking at least one resource of the one resource and the another resource using a reference-based locking strategy, in response to the determining indicating the relationship is a reference-based relationship, wherein a chained locking strategy is a different locking strategy than a reference-based locking strategy, and wherein said locking of said at least one resource is further based on an operation to be performed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system of managing the locking of resources of a data repository, said system comprising:
-
a storage comprising a data repository, said data repository comprising a hierarchical structure of a plurality of dependently sequenced resources, said hierarchical structure comprising one or more resources having a reference-based relationship and one or more resources having a containment-based relationship; and at least one processing node coupled to the storage, said at least one processing node to perform a method, said method comprising; determining whether a relationship between one resource and another resource of the data repository is a containment-based relationship or whether the relationship is a reference-based relationship, wherein the relationship between the one resource and the another resource is a containment-based relationship if the one resource is accessed through the another resource and if there is only one reference from instances of the one resource to the another resource, and the relationship between the one resource and the another resource is a reference-based relationship if the one resource is accessed through the another resource and if there are more than one reference from instances of the one resource to the another resource; locking at least one resource of the one resource and the another resource using a chained locking strategy, in response to the determining indicating the relationship is a containment-based relationship; and locking at least one resource of the one resource and the another resource using a reference-based locking strategy, in response to the determining indicating the relationship is a reference-based relationship, wherein a chained locking strategy is a different locking strategy than a reference-based locking strategy, and wherein said locking of said at least one resource is further based on an operation to be performed. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification