arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.03319cs.DCcs.AIcs.LGcs.NE
收藏

云中用于复制的微服务调用率预测比较

Comparison of Microservice Call Rate Predictions for Replication in the Cloud

Alpen-Adria-Universität Klagenfurt(阿尔卑斯-亚得里亚大学克拉根福分校);Azad University, Science and Research Branch, Tehran(阿扎德大学德黑兰科学与研究分校);SINTEF AS(挪威SINTEF公司);OsloMet - Oslo Metropolitan University(奥斯陆城市大学)

Narges Mehran, Arman Haghighi, Pedram Aminharati, Nikolay Nikolov, Ahmet Soylu, Dumitru Roman, Radu Prodan

AI总结:

比较LR、MLP和GBR三种机器学习模型在阿里巴巴微服务轨迹上预测微服务调用率以估计可扩展性需求的表现,发现GBR在误差上更优且预测副本数接近实际值。

摘要:

如今,许多用户将其基于微服务的应用程序与各种互连部署在云机器集群上,由于动态用户需求而受到随机变化的影响。为了解决这个问题,我们比较了三种机器学习(ML)模型,用于基于微服务时间预测微服务调用率,旨在估计可扩展性需求。我们在阿里巴巴微服务轨迹上应用了线性回归(LR)、多层感知器(MLP)和梯度提升回归(GBR)模型。预测结果表明,LR模型的训练时间低于GBR和MLP模型。然而,与LR和MLP模型相比,GBR降低了平均绝对误差和平均绝对百分比误差。此外,预测结果表明,梯度提升模型对每个微服务所需的副本数量接近于无任何预测的实际测试数据。

英文摘要:

Today, many users deploy their microservice-based applications with various interconnections on a cluster of Cloud machines, subject to stochastic changes due to dynamic user requirements. To address this problem, we compare three machine learning (ML) models for predicting the microservice call rates based on the microservice times and aiming at estimating the scalability requirements. We apply the linear regression (LR), multilayer perception (MLP), and gradient boosting regression (GBR) models on the Alibaba microservice traces. The prediction results reveal that the LR model reaches a lower training time than the GBR and MLP models. However, the GBR reduces the mean absolute error and the mean absolute percentage error compared to LR and MLP models. Moreover, the prediction results show that the required number of replicas for each microservice by the gradient boosting model is close to the actual test data without any prediction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑