Efficient distributed cache consistency
First Claim
1. A method, in a data processing system comprising a processor and a memory, for performing a write operation on a shared resource in a cluster of data processing systems, the method comprising:
- determining, by the data processing system, whether a locally cached copy of the shared resource is present in a local cache memory of the data processing system;
in response to a determination that a locally cached copy of the shared resource is present in the local cache memory, determining 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;
performing the write operation on the locally cached copy of the shared resource to generate an updated locally cached copy of the shared resource; and
transmitting a cluster event notification to other data processing systems of the 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 method, in a data processing system comprising a processor and a memory, for performing a write operation on a shared resource in a cluster of data processing systems, the method comprising:
-
determining, by the data processing system, whether a locally cached copy of the shared resource is present in a local cache memory of the data processing system; in response to a determination that a locally cached copy of the shared resource is present in the local cache memory, determining 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; performing the write operation on the locally cached copy of the shared resource to generate an updated locally cached copy of the shared resource; and transmitting a cluster event notification to other data processing systems of the 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)
-
Specification