Conditional updates for reducing frequency of data modification operations
First Claim
1. A method, performed by a computer system having one or more processors and memory, the method comprising:
- detecting a request, received from a requestor, to access a first data object stored in a tiered data structure, the tiered data structure stored in one or more memory devices, wherein the tiered data structure includes a plurality of internal nodes and a plurality of leaf nodes, and wherein the request comprises a conditional request to modify the first data object;
in response to detecting the request to access the first data object;
retrieving a leaf node that includes the first data object, wherein the leaf node is a leaf node in the tiered data structure; and
locking the leaf node that includes the first data object;
while the leaf node that includes the first data object is locked;
transmitting, to the requestor, a first conditional-update communication that includes an indication of a current value of the first data object;
detecting a first conditional-update response to the first conditional-update communication, the detected first conditional-update response received from the requestor and corresponding to the first data object; and
in response to detecting the first conditional-update response, performing one or more operations based on the first conditional-update response; and
after performing the one or more operations based on the first conditional-update response, unlocking the leaf node that includes the first data object.
3 Assignments
0 Petitions
Accused Products
Abstract
A computer system detects a request, from a requestor, to access a first data object stored in a tiered data structure that includes internal nodes and leaf nodes. In response to detecting the request to access the first data object, the computer system retrieves a leaf node that includes the first data object and locks the leaf node that includes the first data object. While the leaf node that includes the first data object is locked, the computer system transmits, to the requestor, a first conditional-update communication and detecting a first conditional-update response in response to the first conditional-update communication. In response to detecting the first conditional-update response corresponding to the first data object, the computer system performs one or more operations based on the first conditional-update response corresponding to the first data object before unlocking the leaf node that includes the first data object.
-
Citations
21 Claims
-
1. A method, performed by a computer system having one or more processors and memory, the method comprising:
-
detecting a request, received from a requestor, to access a first data object stored in a tiered data structure, the tiered data structure stored in one or more memory devices, wherein the tiered data structure includes a plurality of internal nodes and a plurality of leaf nodes, and wherein the request comprises a conditional request to modify the first data object; in response to detecting the request to access the first data object; retrieving a leaf node that includes the first data object, wherein the leaf node is a leaf node in the tiered data structure; and locking the leaf node that includes the first data object; while the leaf node that includes the first data object is locked; transmitting, to the requestor, a first conditional-update communication that includes an indication of a current value of the first data object; detecting a first conditional-update response to the first conditional-update communication, the detected first conditional-update response received from the requestor and corresponding to the first data object; and in response to detecting the first conditional-update response, performing one or more operations based on the first conditional-update response; and after performing the one or more operations based on the first conditional-update response, unlocking the leaf node that includes the first data object. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system, comprising:
-
one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for; detecting a request, received from a requestor, to access a first data object stored in a tiered data structure, the tiered data structure stored in one or more memory devices, wherein the tiered data structure includes a plurality of internal nodes and a plurality of leaf nodes, and wherein the request comprises a conditional request to modify the first data object; in response to detecting the request to access the first data object; retrieving a leaf node that includes the first data object, wherein the leaf node is a leaf node in the tiered data structure; and locking the leaf node that includes the first data object; while the leaf node that includes the first data object is locked; transmitting, to the requestor, a first conditional-update communication that includes an indication of a current value of the first data object; detecting a first conditional-update response to the first conditional-update communication, the detected first conditional-update response received from the requestor and corresponding to the first data object; and in response to detecting the first conditional-update response, performing one or more operations based on the first conditional-update response; and after performing the one or more operations based on the first conditional-update response, unlocking the leaf node that includes the first data object. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer system with one or more processors, cause the computer system to:
-
detect a request, received from a requestor, to access a first data object stored in a tiered data structure, the tiered data structure stored in one or more memory devices, wherein the tiered data structure includes a plurality of internal nodes and a plurality of leaf nodes, and wherein the request comprises a conditional request to modify the first data object; in response to detecting the request to access the first data object; retrieve a leaf node that includes the first data object, wherein the leaf node is a leaf node in the tiered data structure; and lock the leaf node that includes the first data object; while the leaf node that includes the first data object is locked; transmit, to the requestor, a first conditional-update communication that includes an indication of a current value of the first data object; detect a first conditional-update response to the first conditional-update communication, the detected first conditional-update response received from the requestor and corresponding to the first data object; and in response to detecting the first conditional-update response, perform one or more operations based on the first conditional-update response; and after performing the one or more operations based on the first conditional-update response, unlock the leaf node that includes the first data object. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification