Performance comparisons of web server load balancing algorithms on HAProxy and Heartbeat

A. Prasetijo, Eko Didik Widianto, Ersya T. Hidayatullah
{"title":"Performance comparisons of web server load balancing algorithms on HAProxy and Heartbeat","authors":"A. Prasetijo, Eko Didik Widianto, Ersya T. Hidayatullah","doi":"10.1109/ICITACEE.2016.7892478","DOIUrl":null,"url":null,"abstract":"Popular websites such as Google and Facebook must have an extremely large clients and providing such clients only with a single web server is absolutely insufficient. To support service availability, two or more servers are required. This, however, needs a load balancing system. A load balancing server receives web traffic and distributes the requests to such multiple servers. Load balancing can be implemented with special hardware, software or a combination of both. The purpose of this research is to develop a load balancing system with HAProxy as a software-based load balancer and Heartbeat as failover software and provides comparisons of the performance of several balancing algorithms on it. The results show that without a load balancer, the load cannot equally be distributed. The system average failover time when an active server down is 10ms. The Leastconn algorithm, in general, outperformed the Round-Robin and Source algorithms in terms of connection rate, response time, throughput, and failed connection.","PeriodicalId":161691,"journal":{"name":"2016 3rd International Conference on Information Technology, Computer, and Electrical Engineering (ICITACEE)","volume":"2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 3rd International Conference on Information Technology, Computer, and Electrical Engineering (ICITACEE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICITACEE.2016.7892478","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 17

Abstract

Popular websites such as Google and Facebook must have an extremely large clients and providing such clients only with a single web server is absolutely insufficient. To support service availability, two or more servers are required. This, however, needs a load balancing system. A load balancing server receives web traffic and distributes the requests to such multiple servers. Load balancing can be implemented with special hardware, software or a combination of both. The purpose of this research is to develop a load balancing system with HAProxy as a software-based load balancer and Heartbeat as failover software and provides comparisons of the performance of several balancing algorithms on it. The results show that without a load balancer, the load cannot equally be distributed. The system average failover time when an active server down is 10ms. The Leastconn algorithm, in general, outperformed the Round-Robin and Source algorithms in terms of connection rate, response time, throughput, and failed connection.
web服务器负载均衡算法在HAProxy和Heartbeat上的性能比较
像Google和Facebook这样的热门网站必须有一个非常大的客户端,而仅仅为这样的客户端提供一个web服务器是绝对不够的。为了支持服务可用性,需要两台或更多的服务器。然而,这需要一个负载平衡系统。负载均衡服务器接收web流量,并将请求分发给多个服务器。负载平衡可以通过特殊的硬件、软件或两者的组合来实现。本研究的目的是开发一个负载均衡系统,其中HAProxy作为基于软件的负载均衡器,Heartbeat作为故障转移软件,并提供几种平衡算法在其上的性能比较。结果表明,如果没有负载均衡器,负载就不能均匀分配。当活动服务器关闭时,系统的平均故障转移时间为10ms。一般来说,在连接速率、响应时间、吞吐量和失败连接方面,Leastconn算法优于Round-Robin和Source算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信