The Improvement and Implementation of the High Concurrency Web Server Based on Nginx
DOI: 10.23977/cpcs.2016.11001 | Downloads: 82 | Views: 4346
Jiayue Liu 1, Zhiyi Fang 1, Baiqi Wang 1
1 Qianjin Street 2699, Jilin University, Changchun, Jilin Province, China
Corresponding AuthorZhiyi Fang
According to the original Nginx load balancing strategy, this paper proposes a load balancing strategy that adjusts weight dynamically which is based on the server performance index. This strategy, which improves on existed weighted polling strategy, dynamically updates the node weights according to the CPU, memory, disk IO and network performance of the nodes. So that each node can be assigned to tasks that can fit its load capacity, which enhances the cluster performance and improves the efficiency. By using the siege performance testing tool, the performance of the original weighted polling strategy and the improved dynamic policy is tested. The experiment proves that the dynamic strategy proposed in this paper is better to implement the load balancing technology.
KEYWORDShigh concurrency, Nginx, Web server, load balancing
CITE THIS PAPER
Baiqi, W. , Jiayue, L. and Zhiyi, F. (2016) The Improvement and Implement of the High Concurrency Web Server Based on Nginx. Computing, Performance and Communication systems (2016) 1: 1-7.
 M, Burrows. The Chubby lock service for loosely-coupled distributed systems[R]. Seattle:Osdi Proceedings of Symposium on Operating Systems Design & Implementation, 2010. 335-350.
 H, Singh, S, Kumar. Dispatcher Based Dynamic Load Balancing on Web Server System[J]. International Journal of Grid & Distributed Computing, 2011, 4(1): 89-106.
 NK, Chawla. A New Fuzzy Algorithm for Dynamic Load Balancing In Distributed Environment[J]. International Journal of Computer Science and Information Security, 2009, 6(1): 3-7.
 M, Mehta, D, Jinwala. A Hybrid Dynamic Load Balancing Algorithm for Distributed Systems[J]. Journal of Computers, 2014, 9(8): 1825-1833.
 S, Dhakal, MM, Hayat, JE, Pezoa, C, Yang, DA, Bader. Dynamic Load Balancing in Distributed Systems in the Presence of Delays: A Regeneration-Theory Approach[J]. IEEE Transactions on Parallel & Distributed Systems, 2007, 18(4): 485-497.