首页 | 官方网站   微博 | 高级检索  
     

面向微服务架构的云系统负载均衡机制
引用本文:施凌鹏,朱征,周俊松,李鑫,李静.面向微服务架构的云系统负载均衡机制[J].计算机工程,2021,47(9):44-50,58.
作者姓名:施凌鹏  朱征  周俊松  李鑫  李静
作者单位:1. 国网上海市电力公司 信息通信公司, 上海 200072;2. 国网上海市电力公司 电力科学研究院, 上海 200437;3. 南京航空航天大学计算机科学与技术学院, 南京 210023
基金项目:国家电网有限公司科技项目“云环境下的容灾备份恢复与业务连续性管理关键技术研究与示范应用”(SGSHXT00JFJS1900093)。
摘    要:针对微服务架构的请求响应延迟上升问题,提出一种微服务链感知的请求负载均衡算法。从负载均衡器入手,将微服务链上的平均请求延迟和主机负载情况作为衡量指标,形式化微服务环境和请求延迟,在此基础上研究微服务链调用中存在的共享微服务竞争问题。模拟实验结果表明,与RR算法相比,该算法在复杂的微服务链环境下能够有效降低请求延迟,且在实例分布不均匀的环境中保持较好的负载性能,均衡不同主机之间的负载。在更接近真实应用环境的高频请求测试中,算法能有效降低系统的综合响应时间。

关 键 词:微服务架构  云计算  负载均衡  微服务链  容器化平台  
收稿时间:2020-06-24
修稿时间:2020-08-26

Load Balancing Mechanism for Microservice Architecture in Cloud-based Systems
SHI Lingpeng,ZHU Zheng,ZHOU Junsong,LI Xin,LI Jing.Load Balancing Mechanism for Microservice Architecture in Cloud-based Systems[J].Computer Engineering,2021,47(9):44-50,58.
Authors:SHI Lingpeng  ZHU Zheng  ZHOU Junsong  LI Xin  LI Jing
Affiliation:1. Information and Communication Company, State Grid Shanghai Electric Power Company, Shanghai 200072, China;2. Electric Power Research Institute, State Grid Shanghai Electric Power Company, Shanghai 200437, China;3. College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 210023, China
Abstract:In order to solve the rising delay in responding to requests in Microservices Architecture(MSA), a load balancing algorithm for requests is proposed based on microservice chain awareness.To formalize the request delay and microservice environment, the algorithm takes the average request delay and the host loads as the evaluation indicators. On this basis, the competition for shared microservices in microservice chain calling is studied.The simulation results show that compared with the RR algorithm, the proposed algorithm can significantly reduce the delay in requests in complex microservice chain environment.In addition, it keeps excellent loading performance in an environment with unevenly distributed instances, and balances the loads of different hosts.In the more realistic tests of high-frequency requests, the proposed algorithm can significantly reduce the overall response time of the system.
Keywords:Microservices Architecure(MSA)  cloud computing  load balancing  microservice chain  container platform  
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号