Microservices are a popular architecture for cloudbased applications subject to stringent performance requirements. To effectively serve variable workloads, autoscaling allocates computational resources ideally at the lowest possible cost. Although several autoscaling techniques have already been proposed in the literature, they suffer from high computational complexity. Here we propose μOpt as a computationally efficient model-based autoscaler for microservices. By solving a nonlinear optimization problem that embeds a layered queueing network (LQN) model, μOpt computes optimal configurations maximizing performance while minimizing allocated resources. We validate μOpt on a benchmark microservice application, reporting fast solution times (~10-1 s) that enable prompt reactions to highly variable workloads. Compared to a state-of-the-art autoscaler based on LQN and genetic algorithms, μOpt achieves higher performance (~6%-8%) with significantly fewer allocated resources (~15%-35%) in the presence of both synthetic and real-world workloads.

μOpt: An Efficient Optimal Autoscaler for Microservice Applications

Incerto, Emilio;Pizziol, Roberto;Tribastone, Mirco
2023-01-01

Abstract

Microservices are a popular architecture for cloudbased applications subject to stringent performance requirements. To effectively serve variable workloads, autoscaling allocates computational resources ideally at the lowest possible cost. Although several autoscaling techniques have already been proposed in the literature, they suffer from high computational complexity. Here we propose μOpt as a computationally efficient model-based autoscaler for microservices. By solving a nonlinear optimization problem that embeds a layered queueing network (LQN) model, μOpt computes optimal configurations maximizing performance while minimizing allocated resources. We validate μOpt on a benchmark microservice application, reporting fast solution times (~10-1 s) that enable prompt reactions to highly variable workloads. Compared to a state-of-the-art autoscaler based on LQN and genetic algorithms, μOpt achieves higher performance (~6%-8%) with significantly fewer allocated resources (~15%-35%) in the presence of both synthetic and real-world workloads.
2023
979-8-3503-3744-0
Microservices , Autoscaling , Performance Modeling , Optimization , Layered Queueing Networks
File in questo prodotto:
File Dimensione Formato  
Opt_An_Efficient_Optimal_Autoscaler_for_Microservice_Applications.pdf

non disponibili

Tipologia: Versione Editoriale (PDF)
Licenza: Copyright dell'editore
Dimensione 2.23 MB
Formato Adobe PDF
2.23 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11771/26359
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
social impact