Container Sizing for Microservices with Dynamic Workload by Online Optimization

Nader Alfares, George Kesidis

Research output: Chapter in Book/Report/Conference proceedingConference contribution

1 Scopus citations

Abstract

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.

Original languageEnglish (US)
Title of host publicationWoC 2023 - Proceedings of the 9th International Workshop on Container Technologies and Container Clouds, Part of
Subtitle of host publicationMiddleware 2023
PublisherAssociation for Computing Machinery, Inc
Pages1-6
Number of pages6
ISBN (Electronic)9798400704598
DOIs
StatePublished - Dec 11 2023
Event9th International Workshop on Container Technologies and Container Clouds, WoC 2023 - Bologna, Italy
Duration: Dec 11 2023Dec 15 2023

Publication series

NameWoC 2023 - Proceedings of the 9th International Workshop on Container Technologies and Container Clouds, Part of: Middleware 2023

Conference

Conference9th International Workshop on Container Technologies and Container Clouds, WoC 2023
Country/TerritoryItaly
CityBologna
Period12/11/2312/15/23

All Science Journal Classification (ASJC) codes

  • Information Systems
  • Software
  • Artificial Intelligence
  • Computer Networks and Communications
  • Information Systems and Management

Cite this