基于nginx的动态与静态组合负载均衡算法研究

Xiaoan Bao, Yifei Hu, Ziqun Bao, Hangyue Chen, Na Zhang, Weiran Lu
{"title":"基于nginx的动态与静态组合负载均衡算法研究","authors":"Xiaoan Bao, Yifei Hu, Ziqun Bao, Hangyue Chen, Na Zhang, Weiran Lu","doi":"10.1109/AINIT54228.2021.00034","DOIUrl":null,"url":null,"abstract":"To solve the problem that traditional Web cluster load balancing algorithm processes low efficiency under low network load and uneven load distribution under high load, based on the analysis of several common load balancing algorithm and combined with their advantages and disadvantages, a new load balancing algorithm which combines dynamic and static status was presented. In this algorithm, the threshold calculated by simulated annealing algorithm was used as interval partition. In the meanwhile, a static weighted polling algorithm under the base of the weight of each load index such as the performance of CPU, Memory, Disk IO and network bandwidth and a dynamic weight adjusted algorithm which collected real-time load information according to feedback from each server node were accepted. And through the comparative experiments of several algorithms, it is verified that the new algorithm proposed in this paper processes more reasonable load balancing, which has more advantages in the average response time and the actual number of concurrent. All in all, it meets the design requirements.","PeriodicalId":326400,"journal":{"name":"2021 2nd International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Nginx-Based Combined Dynamic and Static Load Balancing Algorithm Research\",\"authors\":\"Xiaoan Bao, Yifei Hu, Ziqun Bao, Hangyue Chen, Na Zhang, Weiran Lu\",\"doi\":\"10.1109/AINIT54228.2021.00034\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"To solve the problem that traditional Web cluster load balancing algorithm processes low efficiency under low network load and uneven load distribution under high load, based on the analysis of several common load balancing algorithm and combined with their advantages and disadvantages, a new load balancing algorithm which combines dynamic and static status was presented. In this algorithm, the threshold calculated by simulated annealing algorithm was used as interval partition. In the meanwhile, a static weighted polling algorithm under the base of the weight of each load index such as the performance of CPU, Memory, Disk IO and network bandwidth and a dynamic weight adjusted algorithm which collected real-time load information according to feedback from each server node were accepted. And through the comparative experiments of several algorithms, it is verified that the new algorithm proposed in this paper processes more reasonable load balancing, which has more advantages in the average response time and the actual number of concurrent. All in all, it meets the design requirements.\",\"PeriodicalId\":326400,\"journal\":{\"name\":\"2021 2nd International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT)\",\"volume\":\"20 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 2nd International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/AINIT54228.2021.00034\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 2nd International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/AINIT54228.2021.00034","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

针对传统Web集群负载均衡算法在低网络负载下处理效率低、高负载下负载分配不均匀的问题,在分析几种常用负载均衡算法的基础上,结合其优缺点,提出了一种动态与静态相结合的负载均衡算法。该算法采用模拟退火算法计算的阈值作为区间划分。同时,采用基于CPU性能、内存性能、磁盘IO性能、网络带宽等各负载指标权重的静态加权轮询算法和根据各服务器节点反馈实时采集负载信息的动态权重调整算法。并通过几种算法的对比实验,验证了本文提出的新算法处理更加合理的负载均衡,在平均响应时间和实际并发数方面具有更大的优势。总体而言,符合设计要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Nginx-Based Combined Dynamic and Static Load Balancing Algorithm Research
To solve the problem that traditional Web cluster load balancing algorithm processes low efficiency under low network load and uneven load distribution under high load, based on the analysis of several common load balancing algorithm and combined with their advantages and disadvantages, a new load balancing algorithm which combines dynamic and static status was presented. In this algorithm, the threshold calculated by simulated annealing algorithm was used as interval partition. In the meanwhile, a static weighted polling algorithm under the base of the weight of each load index such as the performance of CPU, Memory, Disk IO and network bandwidth and a dynamic weight adjusted algorithm which collected real-time load information according to feedback from each server node were accepted. And through the comparative experiments of several algorithms, it is verified that the new algorithm proposed in this paper processes more reasonable load balancing, which has more advantages in the average response time and the actual number of concurrent. All in all, it meets the design requirements.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信