Abstract
Deploying microservice-based applications on computing clusters in the Cloud is subject to stochastic changes due to dynamic user requirements. To address the problem of estimating dynamic and runtime user requirements, we compare three machine learning (ML) models for predicting the microservice call rates based on the execution times (also referred as microservice times) and aiming at estimating the scalability requirements of microservices. We apply the linear regression (LR), multilayer perceptron (MLP), and gradient boosting regression (GBR) models on the Alibaba microservice traces, supporting the workloads for microservice-based applications from real production environments. The prediction results reveal that the LR model reaches a lower training time than the GBR and MLP models, leading to lower microservice deployment time. However, the GBR reduces the mean absolute error and the mean absolute percentage error compared to LR and MLP models, predicting the required number of replicas for each microservice close to the actual test data without any prediction.
Funding Information
  • European Union's grant agreements Horizon 2020 (DataCloud) (101016835)
  • Graph-Massivizer (101093202)
  • enRichMyData (101070284)