Research on the Performance of Load Balancers in High Concurrency Environment
Lei, Yuxiao Jr (2020)
Lei, Yuxiao Jr
2020
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi-fe202101111560
https://urn.fi/URN:NBN:fi-fe202101111560
Tiivistelmä
With the development of computer and communication technology, Internet users are mushrooming. Traditional stand-alone system can no longer meet the needs of users and afford such high loads. In order to provide users with fast and high-quality services, cluster and load balancing technology emerges as an ideal solution. It solves the problem of high cost of hardware upgrade and ensures the high availability of the system.
People have developed numerous hardware and software tools for load balancing. This thesis basically studies and compares Nginx and LVS from various aspects. To begin with, the thesis analyzes the software architecture of Nginx, including its event-driven model, and studies how it works with its workers. Then the thesis analyzes its operating logic and its three most commonly used load balancing strategies. Likewise, the thesis studies the architecture and the workflow of LVS. Afterwards, the thesis compares their merits and faults and draws a conclusion on their respective use scenarios. Eventually, the thesis compares their cluster performance in high concurrency environment through a simple test and draws a conclusion that LVS generally has better performance than Nginx under the same hardware configuration while Nginx can provide more functionalities.
People have developed numerous hardware and software tools for load balancing. This thesis basically studies and compares Nginx and LVS from various aspects. To begin with, the thesis analyzes the software architecture of Nginx, including its event-driven model, and studies how it works with its workers. Then the thesis analyzes its operating logic and its three most commonly used load balancing strategies. Likewise, the thesis studies the architecture and the workflow of LVS. Afterwards, the thesis compares their merits and faults and draws a conclusion on their respective use scenarios. Eventually, the thesis compares their cluster performance in high concurrency environment through a simple test and draws a conclusion that LVS generally has better performance than Nginx under the same hardware configuration while Nginx can provide more functionalities.