WANalytics: Analytics for a Geo-Distributed Data-Intensive World

Ashish Vulimiri, Carlo Curino, Brighten Godfrey, Konstantinos Karanasos, George VargheseCIDR 2015

Abstract

WANalytics addresses the challenges of "Wide-Area Big Data" (WABD) by pushing computation to edge data centers where data is generated. By automatically optimizing execution plans and utilizing a "caching-and-diff" mechanism for intermediate results, the system achieves significant reductions in cross-data center bandwidth—up to 360× in certain scenarios. This paper details the architecture, optimization heuristics, and performance evaluation of WANalytics across various real-world and benchmark workloads.

Introduction: The Wide-Area Big Data Problem

In the modern digital economy, large organizations operate dozens of data centers globally. Data—including logs, user interactions, and sensor feeds—is "born distributed." Traditionally, analyzing this data required copying all datasets to a single central hub. However, this approach is increasingly untenable due to three primary factors: the widening gap between data growth and WAN bandwidth, the high cost of global data movement, and emerging data sovereignty regulations (e.g., GDPR) that mandate data stay within its region of origin.

The core challenge is executing complex analytical queries, represented as Directed Acyclic Graphs (DAGs), across scattered data centers while minimizing data transfer across the expensive wide-area network (WAN).

The WANalytics System

WANalytics is a system designed to sit atop standard Big Data stacks like Hadoop, Hive, and Spark. Its primary goal is to decide where each part of a query should execute to minimize bandwidth.

WANalytics System Architecture

The system consists of several key components as shown in the architecture above:

  • Workload Analyzer: Employs a greedy heuristic to navigate the search space of execution plans, deciding which tasks to push to the edge and which datasets to replicate.
  • Pseudo-distributed Measurement: To predict data production without moving it, WANalytics runs queries on central samples while tagging data with "provenance" (origin). This allows accurate simulation of distributed runs and bypasses the difficulty of cardinality estimation.
  • Syntactic View Maintenance: The system caches intermediate results. For recurring jobs, it calculates and transmits only the "diff" (changes) between old and new results, exploiting the temporal redundancy of big data.

Evaluation and Key Results

The researchers evaluated WANalytics using a mix of real-world production data (Microsoft service health data) and industry benchmarks including BigBench, TPC-CH, and the Berkeley Big Data Benchmark.

The evaluation demonstrated that WANalytics provides massive bandwidth savings. On a real Microsoft production workload, the system achieved a 257× reduction in WAN traffic compared to a centralized baseline. Across synthetic benchmarks, performance improvements reached up to 360×, particularly at high data update rates.

Comparison of data transfer between centralized and distributed approaches

As illustrated in the figure above, the distributed approach significantly reduces data transfer compared to centralization, with caching providing further gains. A key insight from the results is the "Tipping Point": while centralization can be more efficient for very small, frequently changing datasets due to coordination overhead, the distributed approach of WANalytics becomes overwhelmingly superior as data volume grows.

Limitations and Future Work

While highly effective, the current greedy heuristic can struggle with "expanding" DAGs—query stages that significantly increase data size, such as massive self-joins. Future work involves developing non-linear integer programming (NLIP) models to handle these cases. Additionally, the authors aim to incorporate advanced privacy techniques like differential privacy and enhance fault tolerance for mission-critical global deployments.

Summary updated

BibTeX
@inproceedings{vulimiri2015wanalytics,
  author = {Ashish Vulimiri and Carlo Curino and Brighten Godfrey and Konstantinos Karanasos and George Varghese},
  title = {{WANalytics: Analytics for a Geo-Distributed Data-Intensive World}},
  booktitle = {CIDR},
  year = {2015},
}
Figure