Chasing Similarity: Distribution-aware Aggregation Scheduling (Extended Version)

10/01/2018
by   Feilong Liu, et al.
0

Parallel aggregation is a ubiquitous operation in data analytics that is expressed as GROUP BY in SQL, reduce in Hadoop, or segment in TensorFlow. Parallel aggregation starts with an optional local pre-aggregation step and then repartitions the intermediate result across the network. While local pre-aggregation works well for low-cardinality aggregations, the network communication cost remains significant for high-cardinality aggregations even after local pre-aggregation. The problem is that the repartition-based algorithm for high-cardinality aggregation does not fully utilize the network. In this work, we first formulate a mathematical model that captures the performance of parallel aggregation. We prove that finding optimal aggregation plans from a known data distribution is NP-hard, assuming the Small Set Expression conjecture. We propose GRASP, a GReedy Aggregation Scheduling Protocol that decomposes parallel aggregation into phases. GRASP is distribution-aware as it aggregates the most similar partitions in each phase to reduce the transmitted data size in subsequent phases. In addition, GRASP takes the available network bandwidth into account when scheduling aggregations in each phase to maximize network utilization. The experimental evaluation on real data shows that GRASP outperforms repartition-based aggregation by 3.5x and LOOM by 2.0x.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/28/2017

Multiclass MinMax Rank Aggregation

We introduce a new family of minmax rank aggregation problems under two ...
research
05/31/2021

Dynamic Scheduling for Over-the-Air Federated Edge Learning with Energy Constraints

Machine learning and wireless communication technologies are jointly fac...
research
03/12/2023

Minimal Sleep Delay Driven Aggregation Tree Construction in IoT Sensor Networks

Data aggregation is a fundamental technique in wireless sensor networks ...
research
04/22/2019

GLS and VNS Based Heuristics for Conflict-Free Minimum-Latency Aggregation Scheduling in WSN

We consider a conflict-free minimum latency data aggregation problem tha...
research
09/16/2021

A Quadratic Time Locally Optimal Algorithm for NP-hard Equal Cardinality Partition Optimization

We study the optimization version of the equal cardinality set partition...
research
05/19/2020

Machine Learning-based Cardinality Estimation in DBMS on Pre-Aggregated Data

Cardinality estimation is a fundamental task in database query processin...
research
05/26/2023

Aggregating over Dominated Points by Sorting, Scanning, Zip and Flat Maps

Prefix aggregation operation (also called scan), and its particular case...

Please sign up or login with your details

Forgot password? Click here to reset