Pipelined counter signatures
First Claim
Patent Images
1. A system, comprising:
- a storage device configured to store thereon a plurality of counters, wherein a counter of the plurality of counters is associated with an identifier;
a computing node in communication with the storage device in order to maintain the counter, wherein the computing node at least;
in response to a requested modification of the counter, stores, in a first data structure, a first data set representative of reading a value of the counter, the first data set comprising a hash of the identifier and a tolerance value indicative of a permissible magnitude of change to the value of the counter;
in response to the requested modification of the counter, stores, in a second data structure, a second data set representative of writing to the value of the counter, the second data set comprising the hash of the identifier and a magnitude of the requested modification to the value of the counter;
computes a sum of magnitudes of requested modifications associated with the counter, the sum comprising the magnitude of the requested modification to the value of the counter stored in the second data structure;
determines to process the requested modification, the determining based at least in part on comparing the sum to the tolerance value stored in the first data structure; and
stores an updated value for the counter based on the requested modification.
2 Assignments
0 Petitions
Accused Products
Abstract
A system may comprise a storage device on which counters are stored. A counter may be associated with an identifier. A computing node of the system may receive a request to modify the counter. In response to the request, a read signature may be stored and may comprise a hash of the identifier and a tolerance of the counter to change. A write signature may be stored in response to the request, and may comprise a hash of the identifier and a magnitude of the requested modification. A conflict may be detected by comparing a sum of the magnitudes of requested changes to the tolerance of the read operation.
-
Citations
20 Claims
-
1. A system, comprising:
-
a storage device configured to store thereon a plurality of counters, wherein a counter of the plurality of counters is associated with an identifier; a computing node in communication with the storage device in order to maintain the counter, wherein the computing node at least; in response to a requested modification of the counter, stores, in a first data structure, a first data set representative of reading a value of the counter, the first data set comprising a hash of the identifier and a tolerance value indicative of a permissible magnitude of change to the value of the counter; in response to the requested modification of the counter, stores, in a second data structure, a second data set representative of writing to the value of the counter, the second data set comprising the hash of the identifier and a magnitude of the requested modification to the value of the counter; computes a sum of magnitudes of requested modifications associated with the counter, the sum comprising the magnitude of the requested modification to the value of the counter stored in the second data structure; determines to process the requested modification, the determining based at least in part on comparing the sum to the tolerance value stored in the first data structure; and stores an updated value for the counter based on the requested modification. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method comprising:
-
receiving a request to change a counter, the request comprising information indicative of a requested magnitude of change to the counter, the counter associated with an identifier of the counter; storing a first data comprising a representation of the identifier of the counter and data indicative of a tolerance to change of the counter; storing a second data comprising the representation of the identifier and the requested magnitude of change to the counter; computing a sum indicative of a total magnitude of unprocessed requested changes to the counter, the sum comprising the requested magnitude of change to the counter; determining to change the counter based on the request, by at least comparing the sum to the tolerance to change to the counter; and processing the request to change the counter by at least storing an updated value for the counter based on the requested magnitude of change to the counter. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium having stored thereon executable instructions that, upon execution by a computing device, cause the computing device at least to:
-
receive a request to change a counter, the request comprising information indicative of a requested magnitude of change to the counter, the counter associated with an identifier of the counter; store, in response to the request, a first data representative of reading from the counter, the first data comprising a representation of the identifier of the counter and data indicative of a permitted magnitude of change to the counter; store, in response to the request, a second data comprising the representation of the identifier and the requested magnitude of change to the counter; compute a sum indicative of a total magnitude of requested changes to the counter, the sum comprising the requested magnitude of change to the counter; determine to change the counter based on the request, by at least comparing the sum to the permitted magnitude of change to the counter; and process the requested change to the counter by at least storing an updated value for the counter based on the requested magnitude of change to the counter. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification