[1]姜 伟,潘邵芹.基于 SDN 的微服务负载均衡方案研究[J].计算机技术与发展,2020,30(02):23-27.[doi:10. 3969 / j. issn. 1673-629X. 2020. 02. 005]
 JIANG Wei,PAN Shao-qin.Research on Load Balance of Microservice Based on SDN[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2020,30(02):23-27.[doi:10. 3969 / j. issn. 1673-629X. 2020. 02. 005]
点击复制

基于 SDN 的微服务负载均衡方案研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
30
期数:
2020年02期
页码:
23-27
栏目:
智能、算法、系统工程
出版日期:
2020-02-10

文章信息/Info

Title:
Research on Load Balance of Microservice Based on SDN
文章编号:
1673-629X(2020)02-0023-05
作者:
姜 伟潘邵芹
北京工业大学 信息学部,北京 100124
Author(s):
JIANG WeiPAN Shao-qin
School of Information,Beijing University of Technology,Beijing 100124,China
关键词:
SDN微服务负载均衡控制器
Keywords:
SDNmicroserviceload balancingcontroller
分类号:
TP393
DOI:
10. 3969 / j. issn. 1673-629X. 2020. 02. 005
摘要:
微服务是互联网分布式服务设计的新理念,通过服务拆分成细粒度、功能独立的微服务模块,达到功能解耦,服务 独立演进的能力。 微服务架构在业务需求日益复杂的庞大系统中发挥越来越重要的作用,研究适合微服务特点的负载均 衡具有现实的意义和重要性。 软件定义网络作为新型互联网架构,将数据平面与控制平面分离,简化了网络管理的复杂 性,具有全局网络状态视图,能够灵活地实现网络流量控制,为微服务架构中服务之间的负载均衡提供了一种新的解决方 案。 文中研究将微服务与SDN网络相结合,利用SDN的全局网络视图和对网络流精细化的控制能力,为微服务调用提供 更精细化的负载均衡能力。 通过虚IP与IP改写技术将微服务的负载均衡决策上移到SDN控制平面,进而通过控制平面 对微服务调用链路进行分析,得到基于调用链路分析的负载均衡算法。 在负载过高时还提供了基于VLAN与流表优先级 的限流策略,保护微服务的正常运行。 最后通过实验验证了该方案的可行性。
Abstract:
The microservice is a new concept of distributed service design on the Internet. By splitting services into fine-grained and functionally independent microservice modules,the capability of decoupling functions and independent evolution of services can be achieved. Microservice structure has played an increasingly important role in the large system with increasingly complex business demands,so it is of realistic significance and importance to study the load balancing suitable for the characteristics of microservice. As a new Internet structure,software-defined network separates the data plane from the control plane and simplifies the complexity of network management. It has a view of global network status and can flexibly achieve the traffic control of the network,which provides a new solution to the load-balancing between the services in microservice architecture. We combine the microservice with the SDN network, and provide a more refined load-balancing for microservice invocation according to the global network view of SDN and the ability to control network flowrefinement. Through virtual IPand IPrewriting technology,theload balancing decision ofmicroserviceismoved up to the SDN control plane,and then the call link of microservice is analyzed through the control plane,and the load balancing algorithm based on call link analysis is obtained. Futhermore,a flow control strategy based on VLAN and flow table priority is also provided to ensure the normal operation of microservice when the load is too high. Finally,the feasibility of the solution is proved by experiment.

相似文献/References:

[1]罗钦凯,倪成章.基于微服务的工作流技术在云管平台的应用[J].计算机技术与发展,2019,29(09):122.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 024]
 LUO Qin-kai,NI Cheng-zhang.Application of Workflow Technology Based on Micro-service in Cloud Management Platform[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2019,29(02):122.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 024]
[2]黄继杰,林昌年,杨选怀,等.一种支持私有云仿真的 HLA/ RTI 实现方法[J].计算机技术与发展,2019,29(09):164.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 031]
 HUANG Ji-jie,LIN Chang-nian,YANG Xuan-huai,et al.An HLA/ RTI Implementation Supporting Private Cloud Simulation[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2019,29(02):164.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 031]
[3]吴 磊,湛 健,宋丽华.微服务架构在智能家居网关系统中的应用研究[J].计算机技术与发展,2019,29(11):200.[doi:10. 3969 / j. issn. 1673-629X. 2019. 11. 040]
 WU Lei,ZHAN Jian,SONG Li-hua.Research of Application of Micro-service Architecture in Smart Home Gateway System[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2019,29(02):200.[doi:10. 3969 / j. issn. 1673-629X. 2019. 11. 040]
[4]郑杰生,谢彬瑜,吴广财,等.一种基于模式识别的微服务异常检测方法[J].计算机技术与发展,2020,30(11):123.[doi:10. 3969 / j. issn. 1673-629X. 2020. 11. 023]
 ZHENG Jie-sheng,XIE Bin-yu,WU Guang-cai,et al.An Anomaly Detection Approach for Microservices Based on Pattern Recognition[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2020,30(02):123.[doi:10. 3969 / j. issn. 1673-629X. 2020. 11. 023]
[5]郑杰生,谢彬瑜,吴广财,等.一种基于 Lasso 回归的微服务性能建模方法[J].计算机技术与发展,2020,30(12):216.[doi:10. 3969 / j. issn. 1673-629X. 2020. 12. 038]
 ZHENG Jie-sheng,XIE Bin-yu,WU Guang-cai,et al.A Lasso Regression Based Performance Modeling Method for Microservices[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2020,30(02):216.[doi:10. 3969 / j. issn. 1673-629X. 2020. 12. 038]
[6]耿晓利,张 芒,尹永宏.高并发高可用的分布式电商平台架构研究[J].计算机技术与发展,2021,31(02):111.[doi:10. 3969 / j. issn. 1673-629X. 2021. 02. 021]
 GENG Xiao-li,ZHANG Mang,YIN Yong-hong.Research on Distributed E-commerce Platform Architecture with High Concurrency and High Availability[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2021,31(02):111.[doi:10. 3969 / j. issn. 1673-629X. 2021. 02. 021]
[7]马勤政,徐中伟,梅 萌.基于 Kubernetes 的列控系统测试容器云平台设计[J].计算机技术与发展,2021,31(06):52.[doi:10. 3969 / j. issn. 1673-629X. 2021. 06. 010]
 MA Qin-zheng,XU Zhong-wei,MEI Meng.Design of Container Cloud Platform for Test of Train Control SystemBased on Kubernetes[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2021,31(02):52.[doi:10. 3969 / j. issn. 1673-629X. 2021. 06. 010]
[8]邵 瑛,徐 斌.一种通用的文本日志类信息分析评估模型[J].计算机技术与发展,2021,31(增刊):73.[doi:10. 3969 / j. issn. 1673-629X. 2021. S. 014]
 SHAO Ying,XU Bin.A Common Analysis and Evaluation Model of Text Log Information[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2021,31(02):73.[doi:10. 3969 / j. issn. 1673-629X. 2021. S. 014]
[9]邹春杰,赵学健,朱 涛,等.基于微服务架构的农产品溯源系统优化[J].计算机技术与发展,2022,32(01):147.[doi:10. 3969 / j. issn. 1673-629X. 2022. 01. 025]
 ZOU Chun-jie,ZHAO Xue-jian,ZHU Tao,et al.Optimization of Agricultural Product Traceability System Based onMicro-service Architecture[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2022,32(02):147.[doi:10. 3969 / j. issn. 1673-629X. 2022. 01. 025]
[10]鲍春林,宋丽华,余 航.基于节点分层和延迟敏感的服务放置策略[J].计算机技术与发展,2022,32(10):14.[doi:10. 3969 / j. issn. 1673-629X. 2022. 10. 003]
 BAO Chun-lin,SONG Li-hua,YU Hang.Service Placement Policies Based on Node Tiering and Latency Sensitivity[J].COMPUTER TECHNOLOGY AND DEVELOPMENT,2022,32(02):14.[doi:10. 3969 / j. issn. 1673-629X. 2022. 10. 003]

更新日期/Last Update: 2020-02-10