System and method for invalidating data in a hierarchy of caches
First Claim
1. A computer-implemented method of piggybacking a message invalidating cached data on a response to a data request, the method comprising:
- in a hierarchy of caches, passing a data request toward a data server;
at an upstream cache, detecting the invalidation of a set of data cached on one or more downstream caches, including a first downstream cache;
in a response to the data request, including a message to the first downstream cache to invalidate the set of data; and
forwarding the response toward the first downstream cache.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for communicating a side effect of one data request, or other event, as part of a response to another data request or event. The side effect may include notification of the invalidation of cached data, from an upstream cache to a downstream cache. The upstream cache may store invalidation notifications as they are generated or received, and as responses to data requests are sent downstream, piggyback or merge one or more notifications with a response. This scheme avoids the need to open separate communication connections using specified invalidation accounts and passwords.
-
Citations
29 Claims
-
1. A computer-implemented method of piggybacking a message invalidating cached data on a response to a data request, the method comprising:
-
in a hierarchy of caches, passing a data request toward a data server;
at an upstream cache, detecting the invalidation of a set of data cached on one or more downstream caches, including a first downstream cache;
in a response to the data request, including a message to the first downstream cache to invalidate the set of data; and
forwarding the response toward the first downstream cache. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer readable medium storing instructions that, when executed by a computer, cause the computer to perform a method of piggybacking a message invalidating cached data on a response to a data request, the method comprising:
-
in a hierarchy of caches, passing a data request toward a data server;
at an upstream cache, detecting the invalidation of a set of data cached on one or more downstream caches, including a first downstream cache;
in a response to the data request, including a message to the first downstream cache to invalidate the set of data; and
forwarding the response toward the first downstream cache.
-
-
14. An automated method of asynchronously communicating a side effect of a first data request in a response to a second data request, the method comprising:
-
in a computing environment comprising a data server and a plurality of caches, processing a first data request to produce a first response;
identifying a side effect of the first data request;
communicating the side effect to a first cache upstream of one or more downstream caches;
at the first cache;
identifying a second response to a second data request;
including notification of the side effect in the second response; and
forwarding the second response toward a first downstream cache; and
at the first downstream cache, applying the side effect. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer readable medium storing instructions that, when executed by a computer, cause the computer to perform a method of asynchronously communicating a side effect of a first data request in a response to a second data request, the method comprising:
-
in a computing environment comprising a data server and a plurality of caches, processing a first data request to produce a first response;
identifying a side effect of the first data request;
communicating the side effect to a first cache upstream of one or more downstream caches;
at the first cache;
identifying a second response to a second data request;
including notification of the side effect in the second response; and
forwarding the second response toward a first downstream cache; and
at the first downstream cache, applying the side effect.
-
-
24. A system for piggybacking notification of a side effect of a first data request in a response to a second data request, comprising:
-
a data server configured to serve data in response to data requests;
one or more downstream caches configured to cache the served data; and
an upstream cache logically located between the data server and the one or more downstream caches, wherein the upstream cache is configured to include, in a response to one data request, notification of a first side effect of a different data request. - View Dependent Claims (25, 26, 27, 28, 29)
-
Specification