Abstract
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, IP_HASH and LEAST_CONN, and designed an optimized version of IP_HASH (named as NEW_HASH). Compared to the original IP_HASH, the NEW_HASH reduces the probability of hash collisions and improves the performance of searching back-end nodes. The test showed NEW_HASH outperforms the original method of IP_HASH, with reduced response time, lower failure rates and increased throughput. Overall, the server cluster performed better under the high load pressure using NEW_HASH.
Highlights
IntroductionLots of internet based software flooded into people’s daily lives
In recent years, lots of internet based software flooded into people’s daily lives
Nginx is a web server that can be used as reverse proxy and load balancer
Summary
Lots of internet based software flooded into people’s daily lives. These kinds of software satisfy the daily needs of many people. They received a lot of visits and generated a lot of data, which puts a lot more pressure on managing and safeguarding the servers serving these applications. It can forward requests to the target server behind a proxy server, return the data from the server back to the sender through websites. Both the proxy server and target server can be on the same physical machine
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have