期刊文献+

基于Nginx的Web响应加速优化研究 被引量:9

Research on Web response accelerated optimization based on Nginx
原文传递
导出
摘要 针对当前互联网时代下不同网站访问量的增加,如何提高系统运行访问的性能,提高页面响应的速度,是当前软件工作者思考研究的重点。但是传统web加速主要是通过压缩文件大小,或者对网络层SDN等进行加速,进而提高web网站的相应速度。但单纯的依靠这些方式对系统访问进行加速还不能满足日益增长的访问量。对此,结合上述的需求和问题,本文首先对Nginx服务器进行了简单的介绍,并给出了Nginx服务器的优势。然后根据本文的思路,提出在Nginx服务器中引入一种负载均衡策略,具体则是将集群服务器看成是不同的节点,选取节点中的CPU性能、内存性能、磁盘IO性能以及网络带宽性能等作为评价性能的好坏标准。然后结合不同节点的资源效率情况,以标准差作为阈值对服务器性能进行评价,如超过该阈值,则分配到其他服务器,并实时更新节点冗余参数。最后通过搭建Nginx服务器测试环境,对上述的方案进行测试,结果表明其响应速度要明显高于传统的响应方案,验证了本策略的效果。 in view of the current Internet era's increasing access to different websites,how to improve the performance of system operation and access and increase the speed of page response is the focal point for software workers to think about.But the traditional web acceleration is mainly by compressing the size of the file,or speeding up the network layer SDN,and thus improving the corresponding speed of the web web site.But simply relying on these ways to accelerate system access can not meet the growing number of access.In this regard,combined with the requirements and problems mentioned above,this paper first introduces the Nginx server in a simple way,and gives the advantages of the Nginx server.According to this idea,proposed a load balancing strategy in the Nginx server,the server cluster is specific as different nodes,select the node in the CPU performance,memory performance,disk IO performance and network bandwidth performance as the evaluation performance standard.Then,combined with the resource efficiency of different nodes,the performance of server is evaluated by using standard deviation as threshold.If the threshold is exceeded,it is allocated to other servers,and the node redundancy parameters are updated in real time. Finally,the Nginx server test environment is built to test the above scheme.The results show that the response speed is significantly higher than the traditional response plan,which verifies the effectiveness of the strategy.
出处 《自动化与仪器仪表》 2018年第4期31-34,38,共5页 Automation & Instrumentation
关键词 Nginx服务器 Web响应 负载均衡 CPU性能 响应速度 Nginx server Web response load balancing CPU performance response speed
  • 相关文献

参考文献20

二级参考文献118

共引文献81

同被引文献87

引证文献9

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部