Patent ID: 8745707

Claim:
A method for managing access to a resource, the method comprising the computer-implemented steps of: receiving a request for access to a particular resource to make an update to the particular resource; generating a lock associated with the particular resource, wherein the lock comprises a first value for a version number that is equal to a value for a version number associated with the particular resource and is related to whether the particular resource has been updated, and wherein the first value for the version number is stored in the lock rather than in a database including data and attributes of the particular resource; receiving a request to commit the update to the particular resource, wherein the request includes the first value; determining whether a current value for the version number in the lock and associated with the particular resource is equal to the first value for the version number received in the request to commit the update; and in response to determining that the current value for the version number is equal to the first value for the version number, converting the lock to a different type of lock and committing the update; wherein the method is performed by a system comprising a processor.