TY - GEN
T1 - Container Sizing for Microservices with Dynamic Workload by Online Optimization
AU - Alfares, Nader
AU - Kesidis, George
N1 - Publisher Copyright:
© 2023 Copyright held by the owner/author(s).
PY - 2023/12/11
Y1 - 2023/12/11
N2 - Over the past ten years, many different approaches have been proposed for different aspects of the problem of resources management for long running, dynamic and diverse workloads such as processing query streams or distributed deep learning. Particularly for applications consisting of containerized microservices, researchers have attempted to address problems of dynamic selection of, for example: types and quantities of virtualized services (e.g., IaaS/VMs), horizontal and vertical scaling of different microservices, assigning microservices to VMs, task scheduling, or some combination thereof. In this context, we argue that online optimization frameworks like simulated annealing are highly suitable for exploration of the trade-offs between performance (SLO) and cost, particularly when the complex workloads and cloud-service offerings vary over time. Based on a macroscopic objective that combines both performance and cost terms, annealing facilitates light-weight and coherent policies of exploration and exploitation. In this paper, we first give some background on simulated annealing and then experimentally demonstrate its usefulness for container sizing using microservice benchmarks. We conclude with a discussion of how the basic annealing platform can be applied to other resource-management problems, hybridized with other methods, and accommodate user-specified rules of thumb.
AB - Over the past ten years, many different approaches have been proposed for different aspects of the problem of resources management for long running, dynamic and diverse workloads such as processing query streams or distributed deep learning. Particularly for applications consisting of containerized microservices, researchers have attempted to address problems of dynamic selection of, for example: types and quantities of virtualized services (e.g., IaaS/VMs), horizontal and vertical scaling of different microservices, assigning microservices to VMs, task scheduling, or some combination thereof. In this context, we argue that online optimization frameworks like simulated annealing are highly suitable for exploration of the trade-offs between performance (SLO) and cost, particularly when the complex workloads and cloud-service offerings vary over time. Based on a macroscopic objective that combines both performance and cost terms, annealing facilitates light-weight and coherent policies of exploration and exploitation. In this paper, we first give some background on simulated annealing and then experimentally demonstrate its usefulness for container sizing using microservice benchmarks. We conclude with a discussion of how the basic annealing platform can be applied to other resource-management problems, hybridized with other methods, and accommodate user-specified rules of thumb.
UR - http://www.scopus.com/inward/record.url?scp=85182942867&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85182942867&partnerID=8YFLogxK
U2 - 10.1145/3631311.3632399
DO - 10.1145/3631311.3632399
M3 - Conference contribution
AN - SCOPUS:85182942867
T3 - WoC 2023 - Proceedings of the 9th International Workshop on Container Technologies and Container Clouds, Part of: Middleware 2023
SP - 1
EP - 6
BT - WoC 2023 - Proceedings of the 9th International Workshop on Container Technologies and Container Clouds, Part of
PB - Association for Computing Machinery, Inc
T2 - 9th International Workshop on Container Technologies and Container Clouds, WoC 2023
Y2 - 11 December 2023 through 15 December 2023
ER -