A. Prasetijo, Eko Didik Widianto, Ersya T. Hidayatullah
{"title":"web服务器负载均衡算法在HAProxy和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":"{\"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}","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}
Performance comparisons of web server load balancing algorithms on HAProxy and Heartbeat
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.