计算机工程与应用2024,Vol.60Issue(8):274-286,13.DOI:10.3778/j.issn.1002-8331.2303-0543
主动式微服务细粒度弹性缩放算法研究
Active Microservice Fine-Grained Scaling Algorithm
摘要
Abstract
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.关键词
微服务/实例部署/门控循环单元/自动缩放/垂直与水平扩展Key words
microservice/instance deployment/gated recurrent unit/auto scaling/vertical and horizontal scaling分类
信息技术与安全科学引用本文复制引用
彭凯,马芳玲,徐博,郭佳璐,胡梦兰..主动式微服务细粒度弹性缩放算法研究[J].计算机工程与应用,2024,60(8):274-286,13.基金项目
国家自然科学基金面上项目(62171189) (62171189)
新一代人工智能重大项目(2022ZD0117100) (2022ZD0117100)
湖北省重点研发计划项目(2021BAA026,2022BAA038). (2021BAA026,2022BAA038)