Hold ’em or Fold ’em? Aggregation Queries under Performance Variations
Gautam Kumar and Ganesh Ananthanarayanan and Sylvia Ratnasamy and Ion Stoica
EECS Department, University of California, Berkeley
Technical Report No. UCB/EECS-2015-267
December 21, 2015
http://www2.eecs.berkeley.edu/Pubs/TechRpts/2015/EECS-2015-267.pdf
Systems are increasingly required to provide responses to queries, even if not exact, within stringent time deadlines. These systems parallelize computations over many processes and aggregate them hierarchically to get the final response (e.g. search engines and data analytics). Due to large performance variations in clusters, some processes are slower. Therefore, aggregators are faced with the question of how long to wait for outputs from processes before combining and sending them upstream. Longer waits increase the response quality as it would include outputs from more processes. However, it also increases the risk of the aggregator failing to provide its result by the deadline. This leads to all its results being ignored, degrading response quality. Our algorithm, Cedar, proposes a solution to this quandary of deciding wait durations at aggregators. It uses an online algorithm to learn distributions of durations at each level in the hierarchy and collectively optimizes the wait duration. Cedar’s solution is theoretically sound, fully distributed, and generically applicable across systems that use aggregation trees since it is agnostic to the causes of performance variations. Evaluation using production latency distributions from Google, Microsoft and Facebook using deployment and simulation shows that Cedar improves average response quality by over 100%.
Advisors: Ion Stoica and Sylvia Ratnasamy
BibTeX citation:
@mastersthesis{Kumar:EECS-2015-267, Author= {Kumar, Gautam and Ananthanarayanan, Ganesh and Ratnasamy, Sylvia and Stoica, Ion}, Title= {Hold ’em or Fold ’em? Aggregation Queries under Performance Variations}, School= {EECS Department, University of California, Berkeley}, Year= {2015}, Month= {Dec}, Url= {http://www2.eecs.berkeley.edu/Pubs/TechRpts/2015/EECS-2015-267.html}, Number= {UCB/EECS-2015-267}, Abstract= {Systems are increasingly required to provide responses to queries, even if not exact, within stringent time deadlines. These systems parallelize computations over many processes and aggregate them hierarchically to get the final response (e.g. search engines and data analytics). Due to large performance variations in clusters, some processes are slower. Therefore, aggregators are faced with the question of how long to wait for outputs from processes before combining and sending them upstream. Longer waits increase the response quality as it would include outputs from more processes. However, it also increases the risk of the aggregator failing to provide its result by the deadline. This leads to all its results being ignored, degrading response quality. Our algorithm, Cedar, proposes a solution to this quandary of deciding wait durations at aggregators. It uses an online algorithm to learn distributions of durations at each level in the hierarchy and collectively optimizes the wait duration. Cedar’s solution is theoretically sound, fully distributed, and generically applicable across systems that use aggregation trees since it is agnostic to the causes of performance variations. Evaluation using production latency distributions from Google, Microsoft and Facebook using deployment and simulation shows that Cedar improves average response quality by over 100%.}, }
EndNote citation:
%0 Thesis %A Kumar, Gautam %A Ananthanarayanan, Ganesh %A Ratnasamy, Sylvia %A Stoica, Ion %T Hold ’em or Fold ’em? Aggregation Queries under Performance Variations %I EECS Department, University of California, Berkeley %D 2015 %8 December 21 %@ UCB/EECS-2015-267 %U http://www2.eecs.berkeley.edu/Pubs/TechRpts/2015/EECS-2015-267.html %F Kumar:EECS-2015-267