Three-level caching for efficient query processing in large Web search engines

Xiaohui Long, Torsten Suel

    Research output: Contribution to journalArticle

    Abstract

    Large web search engines have to answer thousands of queries per second with interactive response times. Due to the sizes of the data sets involved, often in the range of multiple terabytes, a single query may require the processing of hundreds of megabytes or more of index data. To keep up with this immense workload, large search engines employ clusters of hundreds or thousands of machines, and a number of techniques such as caching, index compression, and index and query pruning are used to improve scalability. In particular, two-level caching techniques cache results of repeated identical queries at the frontend, while index data for frequently used query terms are cached in each node at a lower level. We propose and evaluate a three-level caching scheme that adds an intermediate level of caching for additional performance gains. This intermediate level attempts to exploit frequently occurring pairs of terms by caching intersections or projections of the corresponding inverted lists. We propose and study several offline and online algorithms for the resulting weighted caching problem, which turns out to be surprisingly rich in structure. Our experimental evaluation based on a large web crawl and real search engine query log shows significant performance gains for the best schemes, both in isolation and in combination with the other caching levels. We also observe that a careful selection of cache admission and eviction policies is crucial for best overall performance.

    Original languageEnglish (US)
    Pages (from-to)369-395
    Number of pages27
    JournalWorld Wide Web
    Volume9
    Issue number4
    DOIs
    StatePublished - Dec 2006

    Keywords

    • Caching
    • Inverted index
    • Search engine architecture
    • Search engine query processing
    • Web search

    ASJC Scopus subject areas

    • Software
    • Hardware and Architecture
    • Computer Networks and Communications

    Fingerprint Dive into the research topics of 'Three-level caching for efficient query processing in large Web search engines'. Together they form a unique fingerprint.

  • Cite this