Joint Autoscaling of Containers and Virtual Machines for Cost Optimization in Container Clusters
Open Access
- 23 January 2024
- journal article
- research article
- Published by Springer Nature in Journal of Grid Computing
- Vol. 22 (1) , 1-24
Abstract
Autoscaling enables container cluster orchestrators to automatically adjust computational resources, such as containers and Virtual Machines (VMs), to handle fluctuating workloads effectively. This adaptation can involve modifying the amount of resources (horizontal scaling) or adjusting their computational capacity (vertical scaling). The motivation for our work stems from the limitations of previous autoscaling approaches, which are either partial (scaling containers or VMs, but not both) or excessively complex to be used in real systems. This complexity arises from their use of models with a large number of variables and the addressing of two simultaneous challenges: achieving the optimal deployment for a single scheduling window and managing the transition between successive scheduling windows. We propose an Integer Linear Programming (ILP) model to address the challenge of autoscaling containers and VMs jointly, both horizontally and vertically, to minimize deployment costs. This model is designed to be used with predictive autoscalers and be solved in a reasonable time, even for large clusters. To this end, improvements and reasonable simplifications with respect to previous models have been carried out to drastically reduce the size of the resource allocation problem. Furthermore, the proposed model provides an enhanced representation of system performance in comparison to previous approaches. A tool called Conlloovia has been developed to implement this model. To evaluate its performance, we have conducted a comprehensive assessment, comparing it with two heuristic allocators with different problem sizes. Our findings indicate that Conlloovia consistently demonstrates lower deployment costs in a significant number of cases. Conlloovia has also been evaluated with a real application, using synthetic and real workload traces, as well as different scheduling windows, with deployment costs approximately 20% lower than heuristic allocators.Keywords
Funding Information
- Ministerio de Ciencia e Innovación (PID2021-124383OB-I00,PID2021-124383OB-I00,PID2021-124383OB-I00,PID2021-124383OB-I00,PID2021-124383OB-I00)
This publication has 28 references indexed in Scilit:
- A cloud-agnostic queuing system to support the implementation of deadline-based application execution policiesFuture Generation Computer Systems, 2019
- Multilayered Autoscaling Performance Evaluation: Can Virtual Machines and Containers Co–Scale?International Journal of Applied Mathematics and Computer Science, 2019
- Multi-Level Elastic Deployment of Containerized Applications in Geo-Distributed Environments2018
- Dynamic Multi-level Auto-scaling Rules for Containerized ApplicationsThe Computer Journal, 2018
- Coordinating Vertical Elasticity of both Containers and Virtual Machines2018
- Genetic Algorithm for Multi-Objective Optimization of Container Allocation in Cloud ArchitectureJournal of Grid Computing, 2017
- DoCloud: An elastic cloud platform for Web applications based on Docker2016
- Four-Fold Auto-Scaling on a Contemporary Deployment Platform Using Docker Containers2015
- A Review of Auto-scaling Techniques for Elastic Applications in Cloud EnvironmentsJournal of Grid Computing, 2014
- Cloud Computing Patterns2014