Skip to main content
QUICK REVIEW

[Paper Review] A Comparison of Reinforcement Learning Techniques for Fuzzy Cloud Auto-Scaling

Hamid Arabnejad, Claus Pahl|arXiv (Cornell University)|May 19, 2017
Cloud Computing and Resource ManagementComputer Science21 references6 citations
TL;DR

This paper proposes a self-adaptive fuzzy auto-scaler for cloud workloads using two reinforcement learning techniques—Fuzzy SARSA (on-policy) and Fuzzy Q-Learning (off-policy)—to dynamically adjust virtual machine allocation in OpenStack. Both methods improve SLA compliance and reduce costs by optimizing resource use, with FSL showing faster convergence and better performance under non-periodic, bursty workloads like FIFA World Cup traffic.

ABSTRACT

A goal of cloud service management is to design self-adaptable auto-scaler to react to workload fluctuations and changing the resources assigned. The key problem is how and when to add/remove resources in order to meet agreed service-level agreements. Reducing application cost and guaranteeing service-level agreements (SLAs) are two critical factors of dynamic controller design. In this paper, we compare two dynamic learning strategies based on a fuzzy logic system, which learns and modifies fuzzy scaling rules at runtime. A self-adaptive fuzzy logic controller is combined with two reinforcement learning (RL) approaches: (i) Fuzzy SARSA learning (FSL) and (ii) Fuzzy Q-learning (FQL). As an off-policy approach, Q-learning learns independent of the policy currently followed, whereas SARSA as an on-policy always incorporates the actual agent's behavior and leads to faster learning. Both approaches are implemented and compared in their advantages and disadvantages, here in the OpenStack cloud platform. We demonstrate that both auto-scaling approaches can handle various load traffic situations, sudden and periodic, and delivering resources on demand while reducing operating costs and preventing SLA violations. The experimental results demonstrate that FSL and FQL have acceptable performance in terms of adjusted number of virtual machine targeted to optimize SLA compliance and response time.

Motivation & Objective

  • To address the challenge of manually setting thresholds in traditional auto-scaling by replacing them with adaptive, learning-based controllers.
  • To evaluate the effectiveness of on-policy (SARSA) versus off-policy (Q-Learning) reinforcement learning in a fuzzy logic-based auto-scaling framework.
  • To implement and validate the proposed Fuzzy RL approaches in a real-world IaaS platform—OpenStack—under diverse workload patterns.
  • To compare the performance of FSL and FQL in terms of SLA compliance, response time, and resource utilization across periodic, bursty, and real-world workloads.
  • To demonstrate cost-effective auto-scaling through reduced VM usage while maintaining quality of service.

Proposed method

  • A fuzzy logic controller is used to abstract system states into linguistic labels (e.g., 'low', 'medium', 'high' load), reducing state space complexity.
  • Two reinforcement learning algorithms—Fuzzy SARSA (on-policy) and Fuzzy Q-Learning (off-policy)—are integrated to dynamically learn and update fuzzy scaling rules at runtime.
  • The RL agents learn from rewards based on SLA compliance and response time, with Q-learning exploring optimal next actions and SARSA learning based on actual next actions.
  • The system is implemented in OpenStack using the MAPE-K control loop (Monitor, Analyze, Plan, Execute) with a knowledge base storing fuzzy rules and Q-values.
  • Workload patterns include synthetic periodic, sudden, and ON/OFF workloads, as well as real-world traces from Wikipedia and FIFA World Cup website logs.
  • Performance is evaluated using metrics such as average maximum VM usage, response time, SLA violation rate, and convergence speed.

Experimental results

Research questions

  • RQ1How do Fuzzy SARSA and Fuzzy Q-Learning compare in terms of convergence speed and solution quality under varying workload patterns?
  • RQ2What is the impact of initial fuzzy rule quality (expert vs. non-expert knowledge) on the performance of the auto-scaling system?
  • RQ3How do the two RL-based auto-scalers perform under real-world, unpredictable workloads such as the FIFA World Cup access logs?
  • RQ4To what extent can the proposed fuzzy RL approach reduce VM usage while maintaining SLA compliance and low response time?
  • RQ5In which workload scenarios does the on-policy FSL outperform the off-policy FQL, and vice versa?

Key findings

  • Fuzzy SARSA (FSL) achieved faster learning convergence than Fuzzy Q-Learning (FQL), especially under non-periodic and highly fluctuating workloads.
  • For the Wikipedia workload, FSL showed slightly better performance than FQL, indicating improved response time and SLA compliance in steady-state conditions.
  • Under the bursty FIFA World Cup workload, FSL outperformed FQL in response time, as FQL remained in exploration mode longer due to its off-policy nature.
  • The average maximum number of VMs used was 18.3% for FQL and 22.6% for FSL across all workloads, indicating better resource efficiency with FQL, though FSL achieved comparable SLA compliance with fewer VMs in some cases.
  • The use of expert initial fuzzy rules significantly improved solution quality compared to sub-optimal rules, highlighting the importance of initialization in RL-based auto-scaling.
  • Both FSL and FQL successfully reduced infrastructure costs by minimizing idle VMs and preventing SLA violations across diverse workload patterns.

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.