Today most people can't live without electronic devices. And more and more new devices are coming to the market every day. Apps running on these devices often connect to one or several web-based server side applications, which in turn put a lot of load and management pressure on the servers and clusters serving these web applications. Technologies such as Nginx and Keepalived were invented to address the load issues faced by these high concurrency applications. This paper tested a server cluster environment based on Nginx and Keepalived, evaluated the performance of Nginx based algorithms such as WRR, IPHASH and LEASTCONN, and designed an optimized version of IPHASH (named as NEWHASH). Compared to the original IPHASH, the NEWHASH reduces the probability of hash collisions and improves the performance of searching back-end nodes. The test showed NEWHASH outperforms the original method of IPHASH, with reduced response time, lower failure rates and increased throughput. Overall, the server cluster performed better under the high load pressure using NEWHASH.
CITATION STYLE
Ma, C., & Chi, Y. (2022). Evaluation Test and Improvement of Load Balancing Algorithms of Nginx. IEEE Access, 10, 14311–14324. https://doi.org/10.1109/ACCESS.2022.3146422
Mendeley helps you to discover research relevant for your work.