Abstract
A load balancing strategy based on HAProxy and TCP long connection multiplexing technology is proposed to solve the waste of network resources caused by TCP requests in the data storage module of electrical energy management system. First, based on the load capacity and processing capacity of the cluster server, a server with the best performance is selected to establish a long connection. Then the proposed TCP long connection multiplexing technology is used to reuse different TCP requests to this long TCP connection. Experiments show that this strategy not only enhances the processing capacity of the server, but also dynamically selects the best server. Compared with the default load balancing strategy in HAProxy, it has higher feasibility and stability.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Zhou, L., Wang, F.: Study on data load balancing method of railway passenger ticket system. Railw. Transp. Econ. 40(5), 46–50 (2018). https://doi.org/10.16668/j.cnki.issn.1003-1421.2018.05.09
Liu, K.: HAProxy is used to realize the Web load balance of course selection system. Comput. Knowl. Technol. 7(1), 35–36 (2011). https://doi.org/10.3969/j.issn.1009-3044.2011.01.015
Wang, W., Hao, X., Duan, G., et al.: The multiplexing mechanism of concurrent TCP in satellite network. J. Cent. South Univ. (Sci. Technol.) 48(3), 712–720 (2017). https://doi.org/10.11817/j.issn.1672-7207.2017.03.020
Liu, M.: Factors influencing TCP transmission rate and optimization methods. China Comput. Commun. (8), 87–88 (2016). https://doi.org/10.3969/j.issn.1003-9767.2016.08.041
Dou, L., Lu, X., Duan, H.: Design and implementation of multiplexed network model based on TCP. Appl. Res. Comput. (6), 245–247 (2006). https://doi.org/10.3969/j.issn.1001-3695.2006.06.081
Zhou, S.: Research and implementation of TCP long connection multiplexing based on HAProxy. South China University of Technology (2011)
Liu, J., Xu, L., Zhang, W.: Load balancing algorithm based on dynamic feedback. Comput. Eng. Sci. 25(5), 65–68 (2003). https://doi.org/10.3969/j.issn.1007-130x.2003
Acknowledgements
This work was supported by Shaanxi Province Technical Innovation Guide Special Project (2018SJRG-G-03) and Shaanxi education department industrialization project (16JF024).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Li, W., Liang, J., Ma, X., Qin, B., Liu, B. (2019). A Dynamic Load Balancing Strategy Based on HAProxy and TCP Long Connection Multiplexing Technology. In: Krömer, P., Zhang, H., Liang, Y., Pan, JS. (eds) Proceedings of the Fifth Euro-China Conference on Intelligent Data Analysis and Applications. ECC 2018. Advances in Intelligent Systems and Computing, vol 891. Springer, Cham. https://doi.org/10.1007/978-3-030-03766-6_5
Download citation
DOI: https://doi.org/10.1007/978-3-030-03766-6_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-03765-9
Online ISBN: 978-3-030-03766-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)