Efficient distributed cache consistency
First Claim
1. A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a data processing system, causes the data processing system to:
- determine whether a locally cached copy of a shared resource is present in a local cache memory of the data processing system;
determine, in response to a determination that a locally cached copy of the shared resource is present in the local cache memory, whether the locally cached copy of the shared resource is a latest version of the shared resource; and
in response to determining that that locally cached copy of the shared resource is a latest version of the shared resource;
perform a write operation on the locally cached copy of the shared resource to generate an updated locally cached copy of the shared resource; and
transmit a cluster event notification to other data processing systems of a cluster indicating the shared resource was written to and identifying which data processing system in the cluster performed the write operation, wherein the cluster event notification is logged in at least one change log data structure associated with the other data processing systems.
1 Assignment
0 Petitions
Accused Products
Abstract
Mechanisms are provided for performing a write operation on a shared resource in a cluster of data processing systems. The mechanisms determine whether a locally cached copy of the shared resource is present in a local cache memory. The mechanisms, in response to a determination that a locally cached copy is present, determine whether the locally cached copy is a latest version of the shared resource. The mechanisms, in response to determining that that locally cached copy is a latest version: perform the write operation on the locally cached copy to generate an updated locally cached copy, and transmit a cluster event notification to other data processing systems of the cluster indicating the shared resource was written to and which data processing system performed the write operation. The cluster event notification is logged in at least one change log data structure associated with the other data processing systems.
-
Citations
10 Claims
-
1. A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a data processing system, causes the data processing system to:
-
determine whether a locally cached copy of a shared resource is present in a local cache memory of the data processing system; determine, in response to a determination that a locally cached copy of the shared resource is present in the local cache memory, whether the locally cached copy of the shared resource is a latest version of the shared resource; and in response to determining that that locally cached copy of the shared resource is a latest version of the shared resource; perform a write operation on the locally cached copy of the shared resource to generate an updated locally cached copy of the shared resource; and transmit a cluster event notification to other data processing systems of a cluster indicating the shared resource was written to and identifying which data processing system in the cluster performed the write operation, wherein the cluster event notification is logged in at least one change log data structure associated with the other data processing systems. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An apparatus comprising:
-
a processor; and a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to; determine whether a locally cached copy of a shared resource is present in a local cache memory of the data processing system; determine, in response to a determination that a locally cached copy of the shared resource is present in the local cache memory, whether the locally cached copy of the shared resource is a latest version of the shared resource; and in response to determining that that locally cached copy of the shared resource is a latest version of the shared resource; perform a write operation on the locally cached copy of the shared resource to generate an updated locally cached copy of the shared resource; and transmit a cluster event notification to other data processing systems of a cluster indicating the shared resource was written to and identifying which data processing system in the cluster performed the write operation, wherein the cluster event notification is logged in at least one change log data structure associated with the other data processing systems.
-
Specification