Stochastic Resource Provisioning for Containerized Multi-Tier Web Services in Clouds
- 13 December 2016
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 28 (7) , 2060-2073
Abstract
Under today's bursty web traffic, the fine-grained per-container control promises more efficient resource provisioning for web services and better resource utilization in cloud datacenters. In this paper, we present Two-stage Stochastic Programming Resource Allocator (2SPRA). It optimizes resource provisioning for containerized n-tier web services in accordance with fluctuations of incoming workload to accommodate predefined SLOs on response latency. In particular, 2SPRA is capable of minimizing resource over-provisioning by addressing dynamics of web traffic as workload uncertainty in a native stochastic optimization model. Using special-purpose OpenOpt optimization framework, we fully implement 2SPRA in Python and evaluate it against three other existing allocation schemes, in a Docker-based CoreOS Linux VMs on Amazon EC2. We generate workloads based on four real-world web traces of various traffic variations: AOL, WorldCup98, ClarkNet, and NASA. Our experimental results demonstrate that 2SPRA achieves the minimum resource over-provisioning outperforming other schemes. In particular, 2SPRA allocates only 6.16 percent more than application's actual demand on average and at most 7.75 percent in the worst case. It achieves 3x further reduction in total resources provisioned compared to other schemes delivering overall cost-savings of 53.6 percent on average and up to 66.8 percent. Furthermore, 2SPRA demonstrates consistency in its provisioning decisions and robust responsiveness against workload fluctuations.Keywords
Funding Information
- Amazon Web Services (AWS in Education Research Grants)
This publication has 22 references indexed in Scilit:
- Constructing Performance-Predictable Clusters with Performance-Varying Resources of CloudsIEEE Transactions on Computers, 2015
- Reconciling high server utilization and sub-millisecond quality-of-service2014
- Virtualization vs Containerization to Support PaaS2014
- Cross-Tier Application and Data Partitioning of Web Applications for Hybrid Cloud DeploymentLecture Notes in Computer Science, 2013
- Deadline-aware datacenter tcp (D2TCP)ACM SIGCOMM Computer Communication Review, 2012
- Better never than lateACM SIGCOMM Computer Communication Review, 2011
- Economical and Robust Provisioning of N-Tier Cloud Workloads: A Multi-level Control Approach2011
- Agile dynamic provisioning of multi-tier Internet applicationsACM Transactions on Autonomous and Adaptive Systems, 2008
- A picture of search2006
- Efficiency-Driven Heavy-Traffic Approximations for Many-Server Queues with AbandonmentsManagement Science, 2004