Metadata cache management
First Claim
1. A computer-implemented method for managing a cache, comprising executing on a processor:
- determining from metadata of a received first service request if an operation name of a command within the received first request is defined in combination with a return data identification as a cacheable method name specification within the first request metadata;
in response to determining that the command operation name is defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, determining that the first request is an inquiry request that may be satisfied by a data response to a previously received second request if a value of a time parameter associated with the cacheable method name in the metadata is not aged;
searching the cache for the data response to the second request in satisfaction of the received first service request in response to determining that the command operation name is defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, and that the first request is the inquiry request; and
sending the request on to a service provider in response to determining that the command operation name is not defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, or that the first request is not the inquiry request.
2 Assignments
0 Petitions
Accused Products
Abstract
Managing a cache includes determining from metadata of a received service request whether a cache data response may satisfy the request as a function of recognizing a cacheable method name specification within request metadata by a service provider associated with the request, and determining whether the request is an inquiry in order to decide if the request may be satisfied by the cached data. Aspects also include searching the cache for the data response if determined the data is cacheable and the request is an inquiry, and sending the request on to a service provider if the data response is not a cacheable response, or the request is an update request.
-
Citations
20 Claims
-
1. A computer-implemented method for managing a cache, comprising executing on a processor:
-
determining from metadata of a received first service request if an operation name of a command within the received first request is defined in combination with a return data identification as a cacheable method name specification within the first request metadata; in response to determining that the command operation name is defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, determining that the first request is an inquiry request that may be satisfied by a data response to a previously received second request if a value of a time parameter associated with the cacheable method name in the metadata is not aged; searching the cache for the data response to the second request in satisfaction of the received first service request in response to determining that the command operation name is defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, and that the first request is the inquiry request; and sending the request on to a service provider in response to determining that the command operation name is not defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, or that the first request is not the inquiry request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. Apparatus for managing a cache, comprising:
-
a processing unit; a computer readable memory in circuit communication with the processing unit and; a computer-readable storage medium in circuit communication with the processing unit; wherein the processing unit executes program instructions stored on the computer-readable storage medium via the computer readable memory and thereby; determines from first metadata of a received first service request if an operation name of a command within the received first request is defined in combination with a return data identification as a cacheable method name specification within the first request metadata; in response to determining that the command operation name is defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, determines that the first request is an inquiry request that may be satisfied by a data response to a previously received second request if a value of a time parameter associated with the cacheable method name in the metadata is not aged out; searches the cache for the data response to the second request in satisfaction of the received first service request in response to determining that the command operation name is defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, and that the first request is the inquiry request; and sends the request on to a service in response to determining that the command operation name is not defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, or that the first request is not the inquiry request. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A computer program product for managing a cache, the computer program product comprising:
-
a computer readable hardware storage device; first program instructions to control a cache by determining from first metadata of a received first service request if an operation name of a command within the received first request is defined in combination with a return data identification as a cacheable method name specification within the first request metadata; second program instructions to, in response to determining that the command operation name is defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, determine that the first request is an inquiry request that may be satisfied by a data response to a previously received second request if a value of a time parameter associated with the cacheable method name in the metadata is not aged out; third program instructions to search the cache for the data response to the second request in satisfaction of the received first service request in response to determining that the command operation name is defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, and that the first request is the inquiry request; and fourth program instructions to send the request on to a service provider in response to determining that the command operation name is not defined in combination with the return data identification within the received first request metadata as the cacheable method name specification, or that the first request is not the inquiry request; and
whereinthe first, second, third and fourth program instructions are stored on the computer readable hardware storage device. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification