Brewing Analytics Quality for Cloud Performance

Li Chen, Pooja Jain, Kingsum Chow, Emad Guirguis, Tony WuarXiv 2015 · arXiv

Introduction

In the world of cloud computing, performance data is abundant but notoriously messy. To optimize a cloud deployment, engineers need to analyze data from multiple sources: system-level metrics (CPU/memory), application-level logs (Java Garbage Collection), and user-experience metrics (response times). This paper introduces a multi-layered software framework designed to ensure the quality of this cloud performance data before it reaches the analysis stage. By utilizing parallel processing "channels" and applying domain-specific sanity checks, the authors provide a robust methodology for turning messy, disparate raw logs into reliable "tidy" data for cloud optimization.

The Challenge of Messy Cloud Data

The authors identify a major gap in current practices: "data munging"—the process of cleaning and merging these datasets—is tedious and highly prone to error. Because these sources use different time formats (world clock vs. Unix epoch), different sampling frequencies (e.g., 5 seconds vs. 10 seconds), and different units, manual validation is impossible at scale. If the data processing pipeline contains a single coding error, the resulting "insights" are worthless—a classic case of "garbage in, garbage out."

A Three-Layer Quality Assessment Framework

The authors propose a three-layer quality assessment process implemented in software to mitigate these risks:

  1. Layer 1: Raw Data Quality Assessment: This stage performs source-specific sanity checks. For example, it verifies that a log entry contains a valid combination of a timestamp and a machine name before any processing begins.
  2. Layer 2: Processing Quality Assessment (The "Two Engineers" Philosophy): This is the paper's most novel procedural contribution. The system processes the same raw data through two independent "channels"—for instance, one script written in Python and another in R using different libraries. The software then compares the outputs entry-by-entry. If the results differ, it flags a processing error.
  3. Layer 3: Posterior Analysis Assessment: Once the data is "tidy," the system applies statistical "smell tests." It uses outlier detection and density fitting to find "impossibles"—data points that violate physical or logical constraints (e.g., CPU utilization exceeding 100% or Cycles Per Instruction falling below a theoretical minimum of 0.25).
The three-layer quality assessment framework, highlighting parallel processing in R and Python.

Experimental Setup: SaaS Workload Case Study

The paper evaluates its approach using a real-world Software-as-a-Service (SaaS) workload case study. The infrastructure consisted of 45 application servers running across 54 Java Virtual Machines (JVMs).

The SaaS workload architecture used for evaluation, featuring simulated users and JVM processes.

Data sources for this study included:

  • SAR (System Activity Report): OS-level metrics (CPU, disk I/O) sampled every 10 seconds.
  • GC Logs: Java Garbage Collection events, which occur at irregular intervals.
  • Faban Driver: A client-side load driver used to simulate five different user groups and record response times every 5 seconds.

Key Insights: Redundancy and Domain Expertise

  • Redundancy as Validation: Borrowing from high-availability engineering, the authors suggest that redundancy in code (writing the same logic in two languages) is a powerful way to catch subtle bugs in data transformation pipelines.
  • The Tidy Data Goal: The authors emphasize moving toward a "tidy" format where each row is a timestamp and each column is a specific performance metric. This structure is essential for multivariate time-series analysis.
  • The Time-Sync Headache: One of the biggest hurdles in cloud analytics is "interlacing" time stamps. The tool handles the discrepancy between epoch milliseconds, epoch seconds, and world clock time to create a single, coherent timeline.
  • Domain Expertise as a Filter: Automated quality gates are most effective when they incorporate domain knowledge (like hardware limits) to flag data that is technically "valid" in format but "impossible" in reality.

Results and Future Directions

The framework successfully merged three disparate data streams (SAR, GC, and Client) into a single multivariate matrix, despite their different frequencies and formats. The "parallel channel" approach (R vs. Python) proved capable of identifying discrepancies in attribute names and data ordering that would likely be missed by a single-path pipeline.

While effective, the authors acknowledge that domain-specific rules are heuristics rather than absolute standards, sometimes requiring a human "second look." Additionally, running parallel processing channels doubles initial development and execution time. Future work involves applying advanced inference frameworks like spectral clustering and random graph inference to the high-quality data produced by this pipeline to better predict cloud bottlenecks.

Summary updated

BibTeX
@misc{chen2015brewing,
  author = {Li Chen and Pooja Jain and Kingsum Chow and Emad Guirguis and Tony Wu},
  title = {{Brewing Analytics Quality for Cloud Performance}},
  year = {2015},
  eprint = {1509.00095},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1509.00095},
}
Figure