Experimental Performance Evaluation of Cloud-Based Analytics-as-a-Service

Francesco Pace, Marco Milanesio, Daniele Venzano, Damiano Carra, Pietro Michiardi

Introduction

Modern cloud environments have evolved beyond simple bare-metal setups, introducing complex abstractions for data processing. This research, conducted by teams from Eurecom and the University of Verona, investigates the performance implications of "Analytics-as-a-Service" (AaaS). The study moves past the traditional binary of data locality to explore how the interplay between compute, logical data, and physical storage layers affects frameworks like Apache Spark.

The Architectural Challenge

In early big data paradigms, "data locality"—running code on the same physical machine as the data—was the gold standard for performance. However, modern cloud architectures typically decouple these concerns into three distinct layers:

  1. Compute Layer: Where processing occurs (e.g., Spark executors).
  2. Data Layer: The logical file system or object store (e.g., HDFS, Swift).
  3. Storage Layer: The underlying physical hardware (e.g., local disks, networked block storage like Ceph).
Multi-layer architecture of cloud-based analytics, separating compute, data, and storage layers.

This decoupling allows for greater flexibility but introduces "impedance mismatches" that can significantly degrade performance.

Methodology: The Compute-to-Data Path

To quantify architectural complexity, the researchers introduced the Compute-to-Data path metric. This metric counts the logical links a data record must traverse, including replication acknowledgments, to complete an I/O operation. They evaluated four primary deployment scenarios:

  • Guest Collocation (GC): Classic approach with compute and data on the same VM using local disks.
  • Guest Collocation with Volumes (GC-V): Compute and data on the same VM, but backed by remote networked volumes (e.g., Ceph).
  • Swift (SWI): Utilizing an object store as the data layer.
  • No Collocation (NC): Compute and data layers residing on separate physical hosts.

Key Findings and Performance Insights

The experimental results, obtained via an OpenStack private cloud, highlight several critical performance drivers:

The Impact of Logical Hops

The Compute-to-Data path proved to be a reliable predictor of performance. Scenarios with more logical hops generally exhibited higher latency and lower throughput. For instance, the NC scenario was approximately 25% slower than GC for read-intensive WordCount tasks due to the network hop between compute and data hosts.

Redundant Replication Overhead

One of the most significant findings involved the GC-V scenario. When HDFS replication is enabled on top of a storage layer that also performs replication (like Ceph), performance drops drastically.

The complex Compute-to-Data path in the GC-V scenario, illustrating the numerous logical hops and replication steps.

In write-intensive benchmarks (DFSIO), this "double replication" made the system nearly 3x slower than the baseline. Disabling HDFS replication in this specific setup recovered 20% of the performance.

Architectural Mismatches in Object Stores

The study revealed that object stores like Swift are often a poor fit for Spark. The issue is not just raw throughput but architectural: Spark frequently renames temporary files, an operation that object stores must implement as a costly "copy-and-delete" sequence, leading to massive I/O overhead.

Caching as an Equalizer

For iterative machine learning workloads (e.g., Decision-Tree), the underlying storage configuration became less relevant once data was loaded into Spark’s memory cache. This suggests that memory-tier caching can effectively mask the "distance" to physical storage.

Conclusion

The research demonstrates that predicting AaaS performance requires looking beyond physical locality to the entire logical data path. While networked storage (like Ceph) can offer competitive read performance through data striping, write-intensive workloads are highly sensitive to redundant replication and architectural mismatches. Future optimizations should focus on "metadata-only" proxy modes for object stores and advanced inter-application caching to bridge these performance gaps.

Summary updated

BibTeX
@inproceedings{pace2016experimental,
  author = {Francesco Pace and Marco Milanesio and Daniele Venzano and Damiano Carra and Pietro Michiardi},
  title = {{Experimental Performance Evaluation of Cloud-Based Analytics-as-a-Service}},
  booktitle = {CLOUD},
  year = {2016},
  doi = {10.1109/cloud.2016.0035},
}
Figure