Cache data validation
First Claim
1. A method performed by a computing system, the method comprising:
- with the computing system, caching, within a cache module of the computing system, a resource request result from a Representational State Transfer (REST) web service;
with the computing system, storing, within an entity register, metadata associated with the resource request result, the metadata including a set of entities used to produce the resource request result, wherein the metadata further includes a version of each entity associated with the resource request result and accessibility of each entity associated with the resource request result;
with the computing system, receiving from a client, a first resource request for the REST web service, the first resource request corresponding to the resource request result;
with the computing system, in response to determining that the resource request result is cached within the cache module, checking, within the entity register, metadata associated with the resource request result; and
with the computing system, in response to determining that an entity from the set of entities has changed since the resource request result was cached, invalidating the cached resource request result and passing the first resource request to the REST web service, wherein determining that the entity from the set of entities has changed comprises checking the entity register to determine that a version of the entity has changed.
1 Assignment
0 Petitions
Accused Products
Abstract
A method includes, with a computing system, receiving a first resource request for a Representational State Transfer (REST) web service, in response to determining that a resource request result of the first resource request is not cached, passing the first resource request to the REST web service, receiving from the REST web service, the resource request result and metadata associated with the resource request result, the metadata indicating a set of entities associated with the resource request result, caching the result and storing the metadata with the cached result, receiving a second resource request, the second resource request being the same as the first resource request, in response to determining that an entity from the set of entities has changed since the resource request result was cached, invalidating the cached resource request result and passing the first resource request to the REST web service.
-
Citations
15 Claims
-
1. A method performed by a computing system, the method comprising:
-
with the computing system, caching, within a cache module of the computing system, a resource request result from a Representational State Transfer (REST) web service; with the computing system, storing, within an entity register, metadata associated with the resource request result, the metadata including a set of entities used to produce the resource request result, wherein the metadata further includes a version of each entity associated with the resource request result and accessibility of each entity associated with the resource request result; with the computing system, receiving from a client, a first resource request for the REST web service, the first resource request corresponding to the resource request result; with the computing system, in response to determining that the resource request result is cached within the cache module, checking, within the entity register, metadata associated with the resource request result; and with the computing system, in response to determining that an entity from the set of entities has changed since the resource request result was cached, invalidating the cached resource request result and passing the first resource request to the REST web service, wherein determining that the entity from the set of entities has changed comprises checking the entity register to determine that a version of the entity has changed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising:
-
a Representational State Transfer (REST) web service; and a cache module configured to; cache a resource request result from the REST web service; store within an entity register associated with the cache module, metadata for the resource request result, the metadata including a set of entities used to produce the resource request result, wherein the metadata further includes a version of each entity associated with the resource request result and accessibility of each entity associated with the resource request result; receive from a client, a first resource request for the REST web service, the first resource request corresponding to the resource request result; in response to determining that the resource request result is cached within the cache module, check, within the entity register, the metadata used to produce the resource request result; and in response to determining that an entity from the set of entities has changed since the resource request result was cached, invalidate the cached resource request result and passing the first resource request to the REST web service, wherein determining that the entity from the set of entities has changed comprises checking the entity register to determine that a version of the entity has changed. - View Dependent Claims (11, 12, 13, 14, 15)
-
Specification