Skip to main content
QUICK REVIEW

[Paper Review] PerfEnforce: A Dynamic Scaling Engine for Analytics with Performance Guarantees

Jennifer Ortiz, Brendan Lee|arXiv (Cornell University)|May 31, 2016
Cloud Computing and Resource ManagementComputer Science23 references5 citations
TL;DR

PerfEnforce is a dynamic scaling engine that guarantees performance SLAs for cloud-based data analytics by minimizing cost while ensuring query runtimes meet SLA targets. It uses perceptron learning to adaptively scale virtual machine clusters between queries, outperforming feedback control and reinforcement learning in maintaining low latency and cost with minimal disruption.

ABSTRACT

In this paper, we present PerfEnforce, a scaling engine designed to enable cloud providers to sell performance levels for data analytics cloud services. PerfEnforce scales a cluster of virtual machines allocated to a user in a way that minimizes cost while probabilistically meeting the query runtime guarantees offered by a service level agreement. With PerfEnforce, we show how to scale a cluster in a way that minimally disrupts a user's query session. We further show when to scale the cluster using one of three methods: feedback control, reinforcement learning, or perceptron learning. We find that perceptron learning outperforms the other two methods when making cluster scaling decisions.

Motivation & Objective

  • To address the challenge of providing performance guarantees in cloud-based data analytics services where users purchase latency SLAs rather than fixed resource allocations.
  • To minimize operational cost while ensuring that user queries meet their SLA-specified runtime targets.
  • To reduce disruption during cluster resizing by using local, shared-nothing storage with partial data replication.
  • To develop and evaluate dynamic scaling strategies that adapt to changing query workloads in real time.
  • To enable cloud providers to offer probabilistic SLAs based on empirical performance distributions.

Proposed method

  • PerfEnforce dynamically resizes a cluster of virtual machines (VMs) allocated to a user based on performance SLA requirements.
  • It uses a shared-nothing storage architecture with partial data replication to enable fast cluster reconfiguration and reduce setup time.
  • The system evaluates three scaling decision strategies: feedback control, reinforcement learning (RL), and perceptron learning (PL).
  • Perceptron learning continuously updates query time estimates based on recent query performance, enabling rapid adaptation to workload changes.
  • Scaling decisions are made either proactively (based on past SLA compliance) or reactively (before each query execution).
  • The system computes performance ratio (PR) and cost of service (CS) metrics to compare scaling strategies against an oracle baseline.

Experimental results

Research questions

  • RQ1How can a cloud analytics system dynamically scale VM clusters to meet performance SLA guarantees while minimizing cost?
  • RQ2What are the trade-offs between different dynamic scaling strategies—feedback control, reinforcement learning, and perceptron learning—in terms of SLA compliance and cost?
  • RQ3Can a perceptron-based learning model outperform traditional control and RL methods in adapting to variable query workloads?
  • RQ4How does partial data replication and local storage affect cluster resizing overhead and query execution stability?
  • RQ5What probabilistic SLA parameters can be reliably advertised based on empirical performance distributions?

Key findings

  • Perceptron learning (PL) yields performance ratio (PR) and relative standard deviation distributions closest to the oracle, outperforming feedback control and reinforcement learning.
  • The perceptron learning method achieves a PR distribution with a mean close to 1.0 and low variance, indicating strong SLA compliance across diverse workloads.
  • For 10 random workloads, perceptron learning achieved a 90th percentile query ratio of 1.37, meaning 90% of queries met or exceeded SLA targets when SLA times were set at 1.37× the actual estimated time.
  • Perceptron learning required no complex parameter tuning per workload, unlike reinforcement learning and feedback control, which needed workload-specific calibration.
  • The system enables cloud providers to advertise probabilistic SLAs with confidence, such as promising 90% of queries under SLA if times are set at 2× the estimated time.
  • The use of local, shared-nothing storage with partial replication reduced setup time and minimized disruption during cluster resizing, enabling fast and reliable scaling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.