Research on Nginx Dynamic Load Balancing Algorithm
2020
With the development of network technology, the Internet has brought great convenience to people's daily lives. However, due to the rapid increase in the number of people using the Internet and the explosion of data volume, the server needs to handle high concurrent access and large amounts of data, which also brings great challenges to the performance of the network server. Server clusters and load balancing technologies have emerged at the historic moment, and have optimized the server performance in terms of hardware and software. Nginx, as an open source, lightweight and high-performance server, has been widely used in recent years for its high performance and ease of expansion. By learning the source code of Nginx, each module, the processing flow of HTTP, and the load balancing algorithms in Nginx, it was found that the algorithms of Nginx cannot feedback the real-time performance of the server, and dynamically adjust the server weight to suit the server performance. Therefore, a dynamic load balancing algorithm based on Nginx is proposed, which collects server load information in real time and dynamically adjusts weights.
Keywords:
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
0
References
0
Citations
NaN
KQI