2015 · 29 citations · 32 references
ComputingComputer ScienceDatabasesDistributed SystemsInformation RetrievalLatency OptimizationQuery OptimizationQuery ProcessingSearch Engine OptimizationSearch SystemsWeb Performance OptimizationAggregationOffline Data ProcessingOnline AggregationQuery Latency OptimizationQuery Performance OptimizationService-level AgreementsTail LatencyTail Latency Reduction
A web search engine often employs partition-aggregate architecture, where an aggregator propagates a user query to all index serving nodes (ISNs) and collects the responses from them. An aggregation policy determines how long the aggregators wait for the ISNs before returning aggregated results to users, crucially affecting both query latency and quality. Designing an aggregation policy is, however, challenging: Response latency among queries and among ISNs varies significantly, and aggregators lack of knowledge about when ISNs will respond. In this paper, we propose aggregation policies that minimize tail latency of search queries subject to search quality service level agreements (SLAs), combining data-driven offline analysis with online processing. Beginning with a single aggregator, we formally prove the optimality of our policy: It achieves the offline optimal result without knowing future responses of ISNs. We extend our policy for commonly-used hierarchical levels of aggregators and prove its optimality when messaging times between aggregators are known. We also present an empirically-effective policy to address unknown messaging time. We use production traces from a commercial search engine, a commercial advertisement engine, and synthetic workloads to evaluate the aggregation policy. The results show that compared to prior work, the policy reduces tail latency by up to 40% while satisfying same quality SLAs.
32
Mohammad Alizadeh, Albert Greenberg, David A. Maltz et al. · 2010 · 1.8K citations · Full text
Luiz André Barroso · Communications of the ACM · 2013 · 1.7K citations
Web search for a planet: the google cluster architecture
Luiz André Barroso, Jay B. Dean, Urs Hölzle · IEEE Micro · 2003 · 1K citations
Mohammad Alizadeh, Albert Greenberg, David A. Maltz et al. · ACM SIGCOMM Computer Communication Review · 2010 · 529 citations
Improving dynamic voltage scaling algorithms with PACE
Jacob R. Lorch, Alan Jay Smith · 2001 · 390 citations