论文标题
负载平衡器调整:Haproxy负载平衡方法的比较分析
Load Balancer Tuning: Comparative Analysis of HAProxy Load Balancing Methods
论文作者
论文摘要
负载平衡在当今看到的实际应用(例如Web)部署中很普遍。一个这样的负载平衡器Haproxy仍然与开源,易于使用的系统相关。在Web系统的背景下,负载平衡器层对系统性能和成本的影响具有重大影响,这对于基于云的部署而言是决定性的。因此,必须正确调整负载平衡器配置并从现有资源中获得最大的性能。在此技术报告中,我们首先介绍了Haproxy架构及其负载平衡方法。然后,我们讨论此负载平衡器中的微调参数,并面对各种工作负载强度检查其性能。我们的评估包括各种类型的Web请求以及同质和异质的后端。最后,根据这项研究的发现,我们提出了一组最佳实践,以最佳配置Haproxy。
Load balancing is prevalent in practical application (e.g., web) deployments seen today. One such load balancer, HAProxy, remains relevant as an open-source, easy-to-use system. In the context of web systems, the load balancer tier possesses significant influence over system performance and the incurred cost, which is decisive for cloud-based deployments. Therefore, it is imperative to properly tune the load balancer configuration and get the most performance out of the existing resources. In this technical report, we first introduce the HAProxy architecture and its load balancing methods. Then, we discuss fine-tuning parameters within this load balancer and examine their performances in face of various workload intensities. Our evaluation encompasses various types of web requests and homogeneous and heterogeneous back-ends. Lastly, based on the findings of this study, we present a set of best practices to optimally configure HAProxy.