基于微服务架构质量追溯平台的负载均衡算法  

Load balancing algorithm based on microservice architecture quality traceability platform

在线阅读下载全文

作  者:陈开奇 张上[1,2] 张卓 吴迪[1,2]  CHEN Kai-qi;ZHANG Shang;ZHANG Zhuo;WU Di;无(Hubei Key Laboratory of Intelligent Vision based Monitoring for Hydroelectric Engineering,China Three Gorges University,Yichang 443002,China;Hubei Province Engineering Technology Research Center for Construction Quality Testing Equipment,China Three Gorges University,Yichang 443002,China;College of Computer and Information,China Three Gorges University,Yichang 443002,China)

机构地区:[1]三峡大学水电工程智能视觉监测湖北省重点实验室,湖北宜昌443002 [2]三峡大学湖北省建筑质量检测装备工程技术研究中心,湖北宜昌443002 [3]三峡大学计算机与信息学院,湖北宜昌443002

出  处:《计算机工程与设计》2025年第2期345-352,共8页Computer Engineering and Design

基  金:国家级大学生创新创业训练计划基金项目(202011075013、202111075012)。

摘  要:为解决物联网平台在高并发场景中负载失衡等问题,从平台架构和负载均衡算法出发,设计一种基于微服务架构与MQTT协议的质量追溯平台。通过将功能模块拆分为多个微服务,较大程度地提高平台的稳定性和可拓展性。对负载均衡算法进行改进,从优先级调度入手,分析用户请求的关键影响因素,采取AHP中的算术平均法计算影响因素的权重,以此设计响应指数函数,根据此函数计算请求响应值。提出服务器综合权重计算模型,结合集群节点负载状况的实时性,对用户请求进行动态调度,充分利用集群节点资源。实验结果表明,改进后算法可以有效减少请求响应时间。To solve the problem of load imbalance in high-concurrency scenarios of the IoT platform,a quality traceability platform based on microservice architecture and MQTT protocol was designed based on the platform architecture and load balancing algorithm.By splitting the functional modules into multiple microservices,the stability and scalability of the platform was greatly improved.The load balancing algorithm was improved.Starting from the priority scheduling,the key influencing factors of user requests were analyzed,and then the arithmetic mean method in AHP was used to calculate the weights of the influencing factors,so as to design the response index function.The request response value was calculated according to this function.A comprehensive weight calculation model of the server was proposed,in which the real-time load status of the cluster nodes was combined to dynamically schedule user requests and make full use of the cluster node resources.Experimental results show that the improved algorithm can effectively reduce the request response time.

关 键 词:物联网平台 微服务 高并发 响应指数 服务器综合权重计算模型 负载均衡 集群 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象