Method for cache replacement of web documents
First Claim
1. A method for determining the priority of a file in a web cache comprising the computer-implemented steps of:
- a) determining a frequency based on how many times said file has been accessed since it was stored in said web cache;
b) determining a size based on how many bytes comprise said file; and
c) determining said priority using a ratio of said frequency raised to a first value to said size raised to a second value, wherein said first value and said second value are rational numbers other than one.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for determining the priority of documents in a web cache. The present invention incorporates the document size and the frequency of file access in determining which documents to keep in the cache and which documents to replace. The priority of a document is determined using a ratio of the frequency of access of the document raised to a first value to the size of the document raised to a second value, wherein the first value and the second value are rational numbers other than one. In one embodiment, the first value is greater than one and the second value is less than one. In another embodiment, the age of the document is also considered in determining the priority of a document. In the present embodiment, the ratio is added to a clock value, wherein the clock value is a running counter associated with the document starting at the time the document was first stored in the web cache.
12 Citations
33 Claims
-
1. A method for determining the priority of a file in a web cache comprising the computer-implemented steps of:
-
a) determining a frequency based on how many times said file has been accessed since it was stored in said web cache;
b) determining a size based on how many bytes comprise said file; and
c) determining said priority using a ratio of said frequency raised to a first value to said size raised to a second value, wherein said first value and said second value are rational numbers other than one. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-usable medium having computer-readable program code embodied therein for causing a computer system to perform the steps of:
-
a) determining a frequency based on how many times said file has been accessed since it was stored in said web cache;
b) determining a size based on how many bytes comprise said file; and
c) determining said priority using a ratio of said frequency raised to a first value to said size raised to a second value, wherein said first value and said second value are rational numbers other than one. - View Dependent Claims (9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21)
-
-
15. A method for replacement of files in a web cache comprising the computer-implemented steps of:
-
a) requesting a file from said web cache, said web cache comprising at least one file, said web cache having a total size and a used size, wherein said total size is the number of bytes said web cache can store, wherein a used size is the number of bytes currently being stored by said web cache, each file having a priority, said priority determined by the steps of;
a1) determining a frequency based on how many times said cached file has been accessed since it was stored in said web cache;
a2) determining a size based on how many bytes comprise said cached file; and
a
3) determining said priority using a ratio of said frequency raised to a first value to said size raised to a second value, wherein said first value and said second value are rational numbers other than one;
b) provided said file is located in said web cache, serving said file out of said web cache and updating said priority;
c) provided said file is not located in said web cache, determining whether to store said file in said web cache by performing the steps of;
c1) adding said file size of said file to said used size, resulting in a first value;
c2) provided said first value is less than said total size, adding said file to said web cache;
c3) provided said first value is greater than said total size, removing at least one of said files according to said priority until said used size is less than said total size; and
d) storing said file into said web cache.
-
-
22. A computer-usable medium having computer-readable program code embodied therein for causing a computer system to perform the steps of:
-
a) requesting a file from said web cache, said web cache comprising at least one file, said web cache having a total size and a used size, wherein said total size is the number of bytes said web cache can store, wherein a used size is the number of bytes currently being stored by said web cache, each file having a priority, said priority determined by the steps of;
a1) determining a frequency based on how many times said cached file has been accessed since it was stored in said web cache;
a2) determining a size based on how many bytes comprise said cached file; and
a3) determining said priority using a ratio of said frequency raised to a first value to said size raised to a second value, wherein said first value and said second value are rational numbers other than one;
b) provided said file is located in said web cache, serving said file out of said web cache and updating said priority;
c) provided said file is not located in said web cache, determining whether to store said file in said web cache by performing the steps of;
c1) adding said file size of said file to said used size, resulting in a first value;
c2) provided said first value is less than said total size, adding said file to said web cache;
c3) provided said first value is greater than said total size, removing at least one of said files according to said priority until said used size is less than said total size; and
d) storing said file into said web cache. - View Dependent Claims (23, 24, 25, 26, 27, 28, 30, 31, 32, 33)
-
-
29. A method for determining the priority of a file in a web cache, wherein said priority is calculated according to
Specification