Enhancing Workload Predictions Using Service Interactions in Cloud-Native Microservices

Container orchestration systems, such as Kuber-netes, often rely on manual resource allocation to manage re-sources, which can be inefficient and inflexible due to the frequent over-provisioning or underprovisioning of resources. Kubernetes horizontal pod autoscaler (HPA), vertical pod autoscaler (VPA), and Google Kubernetes Engine (GKE) Autopilot are primarily threshold-based, making them reactive rather than proactive as they adjust resources after exceeding utilization thresholds, leading to temporary degradation in quality of service (QoS). While some solutions utilize calls per minute (CPM) counts for requests to microservices to estimate resource consumption dynamically, they do not fully exploit distributed traces or associated microservices' interdependencies. We hypothesize that we can gain deeper insights into future workload patterns by exploiting microservices' interaction and the CPM counts for each pair of communicating microservices. In this paper, we propose a comprehensive machine learning workflow to assess whether factoring in the interdependencies between microservices results in improved workload prediction. Our findings indicate that an LSTM model performs well, with average mean absolute error (MAE) and root mean square error (RMSE) values of 7.02 and 10.54, respectively. The highest <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$R^{2}$</tex> score observed was 0.07. This suggests that although incorporating distributed traces and inter-microservice CPM counts provides valuable insights, the models fail to capture the full complexity of workload dynamics. These results highlight the potential for enhancing workload prediction accuracy and underscore the need to refine these methods further to achieve more proactive and efficient resource allocation in container orchestration systems.

Authors

Institutions

Publication Details

Published
2024-11-27
DOI
https://doi.org/10.1109/cloudnet62863.2024.10815917
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Workload Predictions Using Service Interactions in Cloud-Native Microservices

Deepak Nadig, Isham Mahajan
Software System Performance and Reliability
article

Enhancing Workload Predictions Using Service Interactions in Cloud-Native Microservices

Deepak Nadig, Isham Mahajan
article en

Abstract

Container orchestration systems, such as Kuber-netes, often rely on manual resource allocation to manage re-sources, which can be inefficient and inflexible due to the frequent over-provisioning or underprovisioning of resources. Kubernetes horizontal pod autoscaler (HPA), vertical pod autoscaler (VPA), and Google Kubernetes Engine (GKE) Autopilot are primarily threshold-based, making them reactive rather than proactive as they adjust resources after exceeding utilization thresholds, leading to temporary degradation in quality of service (QoS). While some solutions utilize calls per minute (CPM) counts for requests to microservices to estimate resource consumption dynamically, they do not fully exploit distributed traces or associated microservices' interdependencies. We hypothesize that we can gain deeper insights into future workload patterns by exploiting microservices' interaction and the CPM counts for each pair of communicating microservices. In this paper, we propose a comprehensive machine learning workflow to assess whether factoring in the interdependencies between microservices results in improved workload prediction. Our findings indicate that an LSTM model performs well, with average mean absolute error (MAE) and root mean square error (RMSE) values of 7.02 and 10.54, respectively. The highest <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$R^{2}$</tex> score observed was 0.07. This suggests that although incorporating distributed traces and inter-microservice CPM counts provides valuable insights, the models fail to capture the full complexity of workload dynamics. These results highlight the potential for enhancing workload prediction accuracy and underscore the need to refine these methods further to achieve more proactive and efficient resource allocation in container orchestration systems.

Purdue University West Lafayette (US)
National Science Foundation
Industry, innovation and infrastructure
Openalex Percentile: Top 72%
Software System Performance and Reliability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.