Caching for web searching

B. Kalyanasundaram, J. Noga, K.R. Pruhs, G.J. Woeginger

    Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

    Abstract

    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.
    Original languageEnglish
    Title of host publicationAlgorithm theory - SWAT 2000 : proceedings of the 7th Scandinavian workshop, Bergen, Norway, July 5-7, 2000
    Editorsxx Halldórsson
    Place of PublicationBerlin
    PublisherSpringer
    Pages150-163
    ISBN (Print)3-540-67690-2
    DOIs
    Publication statusPublished - 2000

    Publication series

    NameLecture Notes in Computer Science
    Volume1851
    ISSN (Print)0302-9743

    Fingerprint

    Dive into the research topics of 'Caching for web searching'. Together they form a unique fingerprint.

    Cite this