Adjusting the cacheability of web documents according to the responsiveness of its content server
First Claim
1. A method for varying the cacheability of networked content depending on the responsiveness of a content server, comprising:
- (a) computing a measure of responsiveness of a content server;
(b) determining a caching interval for a requested item in accordance with said responsiveness, including;
(i) setting the caching interval lower if an actual level of responsiveness is higher than a responsiveness threshold; and
(ii) else setting the caching interval higher;
(c) obtaining said requested item from said content server; and
(d) specifying a cacheability of said item in accordance with said determined caching interval.
4 Assignments
0 Petitions
Accused Products
Abstract
We disclose techniques for varying the caching of content provided by a content server as a function of the server'"'"'s load. When the server is lightly loaded, freshness of the content is maintained. As server load increases, caching time increases, to trade off freshness against transmission time. Similarly, when the server is heavily loaded, users might quickly be served cached content that is only slightly stale—as opposed to content that was fresh at the time of the request, but which becomes materially stale by the time the server completes serving the response. The server'"'"'s load can be measured by its response time to a request, or otherwise. Optionally, the system can override the load-based caching by defining classes of requests that automatically trigger updating or refreshing (e.g., cache expiration) of related information in the cache.
-
Citations
31 Claims
-
1. A method for varying the cacheability of networked content depending on the responsiveness of a content server, comprising:
-
(a) computing a measure of responsiveness of a content server;
(b) determining a caching interval for a requested item in accordance with said responsiveness, including;
(i) setting the caching interval lower if an actual level of responsiveness is higher than a responsiveness threshold; and
(ii) else setting the caching interval higher;
(c) obtaining said requested item from said content server; and
(d) specifying a cacheability of said item in accordance with said determined caching interval. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
(i) said content servers responsiveness is based on an average response time to requests for content; and
(ii) said responsiveness threshold is based on a desired response time.
-
-
3. The method of claim 1 where:
-
(i) said content servers responsiveness is based on an actual response time to requests for content; and
(ii) said responsiveness threshold is based on a desired response time.
-
-
4. The method of claim 1 where content server'"'"'s responsiveness is based on a number of pages served by said content server in a specified time.
-
5. The method of claim 1 where content server'"'"'s responsiveness is based on said content server'"'"'s CPU load.
-
6. The method of claim 1 where content server'"'"'s responsiveness is based on an overall demand being imposed by active users of said content server.
-
7. The method of claim 1 where said caching interval represents a difference between said computed responsiveness and said responsiveness threshold.
-
8. The method of claim 1 wherein said (c) occurs before said (b).
-
9. The method of claim 1 where said responsiveness threshold is determined based on a statistical measure of historical requests.
-
10. The method of claim 1 where said (d) includes caching said item if said computed responsiveness is worse than said responsiveness threshold.
-
11. The method of claim 1 where said (d) includes not caching said item if said computed responsiveness is better than said responsiveness threshold.
-
12. The method of claim 1 where said (d) includes not caching said item if an aspect of said requested item would trigger invalidity of said cached item.
-
13. The method of claim 1 where an aspect of said requested item includes information in an identifier of said item.
-
14. The method of claim 1 where said aspect of a requested item includes information embedded within said item.
-
15. The method of claim 1 further comprising, after at least said (b), expiring at least one cached item in response to a determination that information in said requested item would trigger invalidity of an aspect of said cached item.
-
16. The method of claim 1 implemented at a proxy server between said content server and a user.
-
17. A method for obtaining networked content from a cache or a content server, depending on the responsiveness of the content server, comprising:
-
(a) receiving a users request for an item;
(b) computing a measure of responsiveness of a content server;
(c) obtaining said requested item;
(i) from said content server if said computed responsiveness is higher than a responsiveness threshold;
else(ii) from a cache containing a previously cached version of said item;
(iii) setting a caching interval lower if an actual level of responsiveness is higher than a responsiveness threshold. - View Dependent Claims (18, 19)
-
-
20. A method for obtaining networked content from a cache or a content server, depending on the responsiveness of the content server, comprising:
-
(a) receiving a user request for an item available at a content server;
(b) determining whether said user request will trigger invalidity of a previously cached item;
(c) deleting from a cache all items determined to be invalid as in (b);
(i) setting a caching interval lower if an actual level of responsiveness is higher than a responsiveness threshold.
-
-
21. A computer-readable medium comprising logic instructions for varying the cacheability of networked content depending on the responsiveness of a content server, said instructions when executed on a computer:
-
(a) computing a measure of responsiveness of a content server;
(b) determining a caching interval for a requested item in accordance with said responsiveness, including;
(i) setting the caching interval lower if an actual level of responsiveness is higher than a responsiveness threshold;
else(ii) setting the caching interval higher;
(c) obtaining said requested item from said content server; and
(d) specifying a cacheability of said item in accordance with said determined caching interval. - View Dependent Claims (22, 23, 24, 25, 26, 27)
-
-
28. A device for varying the cacheability of networked content depending on the responsiveness of a content server, comprising:
-
(a) means for computing a measure of responsiveness of a content server;
(b) means for determining a caching interval for a requested item if said computed measure of responsiveness is higher than a responsiveness threshold and else setting the caching interval higher;
(c) an interface for obtaining said requested item from said content server; and
(d) means for specifying a cacheability of said item in accordance with said determined caching interval.
-
-
29. A proxy server for varying the cacheability of networked content depending on the responsiveness of a content server, comprising:
-
(a) an interface to a content server;
(b) computer-executable program logic for determining a caching interval for a requested item in accordance with a responsiveness of said content server, including;
(i) setting the caching interval lower an actual level of responsiveness is higher than a responsiveness threshold; and
(ii) setting the caching interval higher if an actual level of responsiveness is higher than said responsiveness threshold; and
(c) computer-executable program logic for specifying a cacheability of said item in accordance with said determined caching interval. - View Dependent Claims (30, 31)
-
Specification