Systems and methods for adjusting caching policies for web service requests
First Claim
1. A computer program product embodied in a tangible storage medium, the program product including programming instructions for:
- sampling received Web requests using a predetermined policy;
generating a cache identifier from information in sampled Web requests using a cache identifier specification;
if said cache identifier hits in a request cache, incrementing a first counter; and
if said cache identifier does not hit in said request cache, incrementing a second counter.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism for caching Web services requests and responses, including testing an incoming request against the cached requests and associated responses is provided. The requests are selectively tested against the cached data in accordance with a set of policies. If a request selected hits in the cache, the response is served up from the cache. Otherwise, the request is passed to the corresponding Web-services server/application. Additionally, a set of predetermined cache specifications for generating request identifiers may be provided. The identifier specification may be autonomically adjusted by determining cache hit/cache miss ratios over the set of identifier specifications and over a set of sample requests. The set of specifications may then be sorted to reflect the performance of the respective cache specification algorithms for the current mix of requests.
-
Citations
20 Claims
-
1. A computer program product embodied in a tangible storage medium, the program product including programming instructions for:
-
sampling received Web requests using a predetermined policy;
generating a cache identifier from information in sampled Web requests using a cache identifier specification;
if said cache identifier hits in a request cache, incrementing a first counter; and
if said cache identifier does not hit in said request cache, incrementing a second counter. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for Web request caching operations comprising:
-
sampling received Web requests using a predetermined policy;
generating a cache identifier from information in sampled Web requests using a cache identifier specification;
if said cache identifier hits in a request cache, incrementing a first counter; and
if said cache identifier does not hit in said request cache, incrementing a second counter. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A data processing system for Web request caching operations comprising:
-
circuitry operable for sampling received Web requests using a predetermined policy;
circuitry operable for generating a cache identifier from information in sampled Web requests using a predetermined policy;
circuitry operable for, if said cache identifier hits in a request cache, incrementing a first counter; and
circuitry operable for, if said cache identifier does not hit in said request cache, incrementing a second counter. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification