TY - GEN
T1 - Caching for web searching
AU - Kalyanasundaram, B.
AU - Noga, J.
AU - Pruhs, K.R.
AU - Woeginger, G.J.
PY - 2000
Y1 - 2000
N2 - We study web caching when the input sequence is a depth first search traversal of some tree. There are at least two good motivations for investigating tree traversal as a search technique on the WWW: First, empirical studies of people browsing and searching the WWW have shown that user access patterns commonly are nearly depth first traversals of some tree. Secondly, (as we will show in this paper) the problem of visiting all the pages on some WWW site using anchor clicks (clicks on links) and back button clicks — by far the two most common user actions — reduces to the problem of how to best cache a tree traversal sequence (up to constant factors).
We show that for tree traversal sequences the optimal offline strategy can be computed efficiently. In the bit model, where the access time of a page is proportional to its size, we show that the online algorithm LRU is (1 + 1/¿)-competitive against an adversary with unbounded cache as long as LRU has a cache of size at least (1 + ¿) times the size of the largest item in the input sequence. In the general model, where pages have arbitrary access times and sizes, we show that in order to be constant competitive, any online algorithm needs a cache large enough to store O (log n) pages; here n is the number of distinct pages in the input sequence. We provide a matching upper bound by showing that the online algorithm Landlord is constant competitive against an adversary with an unbounded cache if Landlord has a cache large enough to store the O(log n) largest pages. This is further theoretical evidence that Landlord is the "ght" algorithm for web caching.
AB - We study web caching when the input sequence is a depth first search traversal of some tree. There are at least two good motivations for investigating tree traversal as a search technique on the WWW: First, empirical studies of people browsing and searching the WWW have shown that user access patterns commonly are nearly depth first traversals of some tree. Secondly, (as we will show in this paper) the problem of visiting all the pages on some WWW site using anchor clicks (clicks on links) and back button clicks — by far the two most common user actions — reduces to the problem of how to best cache a tree traversal sequence (up to constant factors).
We show that for tree traversal sequences the optimal offline strategy can be computed efficiently. In the bit model, where the access time of a page is proportional to its size, we show that the online algorithm LRU is (1 + 1/¿)-competitive against an adversary with unbounded cache as long as LRU has a cache of size at least (1 + ¿) times the size of the largest item in the input sequence. In the general model, where pages have arbitrary access times and sizes, we show that in order to be constant competitive, any online algorithm needs a cache large enough to store O (log n) pages; here n is the number of distinct pages in the input sequence. We provide a matching upper bound by showing that the online algorithm Landlord is constant competitive against an adversary with an unbounded cache if Landlord has a cache large enough to store the O(log n) largest pages. This is further theoretical evidence that Landlord is the "ght" algorithm for web caching.
U2 - 10.1007/3-540-44985-X_14
DO - 10.1007/3-540-44985-X_14
M3 - Conference contribution
SN - 3-540-67690-2
T3 - Lecture Notes in Computer Science
SP - 150
EP - 163
BT - Algorithm theory - SWAT 2000 : proceedings of the 7th Scandinavian workshop, Bergen, Norway, July 5-7, 2000
A2 - Halldórsson, xx
PB - Springer
CY - Berlin
ER -