Coordinating Fast Concurrency Adapting With Autoscaling for SLO-Oriented Web Applications

Coordinating Fast Concurrency Adapting With Autoscaling for SLO-Oriented Web Applications
复制标题

DOI:
10.1109/tpds.2022.3151512
复制
发表时间:
2022-12
影响因子:
5.3
通讯作者:
Jianshu Liu;Shungeng Zhang;Qingyang Wang;Jinpeng Wei
Jianshu Liu;Shungeng Zhang;Qingyang Wang;Jinpeng Wei
中科院分区:
计算机科学2区
文献类型:
--
作者:
Jianshu Liu;Shungeng Zhang;Qingyang Wang;Jinpeng Wei

文献摘要

相似文献

Please try later.
Cloud providers tend to support dynamic computing resources reallocation (e.g., Autoscaling) to handle the bursty workload for web applications (e.g., e-commerce) in the cloud environment. Nevertheless, we demonstrate that directly scaling a bottleneck server without quickly adjusting its soft resources (e.g., server threads and database connections) can cause significant response time fluctuations of the target web application. Since soft resources determine the request processing concurrency of each server in the system, simply scaling out/in the bottleneck service can unintentionally change the concurrency level of related services, inducing either under- or over-utilization of the critical hardware resource. In this paper, we propose the Scatter-Concurrency-Throughput (SCT) model, which can rapidly identify the near-optimal soft resource allocation of each server in the system using the measurement of each server’s real-time throughput and concurrency. Furthermore, we implement a Concurrency-aware autoScaling (ConScale) framework that integrates the SCT model to quickly reallocate the soft resources of the key servers in the system to best utilize the new hardware resource capacity after the system scaling. Based on extensive experimental comparisons with two widely used hardware-only scaling mechanisms for web applications: EC2-AutoScaling (VM-based autoscaler) and Kubernetes HPA (container-based autoscaler), we show that ConScale can successfully mitigate the response time fluctuations over the system scaling phase in both VM-based and container-based environments.