|国家科技期刊平台
首页|期刊导航|计算机工程与应用|主动式微服务细粒度弹性缩放算法研究

主动式微服务细粒度弹性缩放算法研究OA北大核心CSTPCD

Active Microservice Fine-Grained Scaling Algorithm

中文摘要英文摘要

微服务架构已成为云数据中心的基本服务架构.但目前关于微服务系统弹性缩放的研究大多是基于服务或实例级别的水平缩放,忽略了能够充分利用单台服务器资源的细粒度垂直缩放,从而导致资源浪费.为此,设计了主动式微服务细粒度弹性缩放算法.算法通过预测请求到达率对系统进行资源预配置.基于预测结果,应用平方根配置规则计算需求资源数量,进而利用垂直缩放的细粒度资源控制特性和水平缩放的高可用性对微服务进行伸缩.应用基于微服务依赖关系的实例迁移算法进一步降低资源开销.实验结果表明,提出的算法在优化微服务系统时延和开销方面取得了显著效果.

Microservice architecture has become the basic service architecture of cloud data center.However,the existing studies on the elastic scaling scheme of microservice systems are mostly based on horizontal scaling at the service or instance level,ignoring the fine-grained vertical scaling that can make full use of single server resources,resulting in resource waste.Therefore,an active microservice fine-grained elastic scaling algorithm is designed in this paper.The algo-rithm forecasts the request arrival rate to preconfigure the system resources.Based on the predicted results,the square root staffing rule is applied to calculate the number of required resources,and then the microservice is scaled by using the fine-grained resource control feature of vertical scaling and the high availability of horizontal scaling.Finally,an instance migration algorithm based on microservice dependency is applied to further reduce the resource overhead.Experimental results show that the proposed algorithm is effective in optimizing the delay and overhead of microservice systems.

彭凯;马芳玲;徐博;郭佳璐;胡梦兰

华中科技大学 电子信息与通信学院 智能互联网技术湖北省重点实验室,武汉 430074华中科技大学 电子信息与通信学院 智能互联网技术湖北省重点实验室,武汉 430074||湖北省楚天云有限公司,武汉 430076

计算机与自动化

微服务实例部署门控循环单元自动缩放垂直与水平扩展

microserviceinstance deploymentgated recurrent unitauto scalingvertical and horizontal scaling

《计算机工程与应用》 2024 (008)

274-286 / 13

国家自然科学基金面上项目(62171189);新一代人工智能重大项目(2022ZD0117100);湖北省重点研发计划项目(2021BAA026,2022BAA038).

10.3778/j.issn.1002-8331.2303-0543

评论