一种提高Web服务器性能的方法

来源 :计算机研究与发展 | 被引量 : 0次 | 上传用户:xszr1112
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
首先阐述了Web服务器性能的定义,然后从Web服务器性能的几个关键问题入手,从应用负载、服务器软件和服务器硬件3个层面上详细讨论了如何解决这些关键问题.通过对比目前流行的测试工具,选择了合适的应用负载;采用探索式方法优化服务器软件的配置参数,从而减少了测试次数;通过屏蔽各种HTTP请求找出影响性能的瓶颈——对动态请求CAD GET的处理.针对该种请求,调整其在动态请求中所占的比例并分析其对不同大小的文件在响应速度上的影响,最后优化相应的代码.将这一方案应用到曙光3000超级服务器上并使用SPECweb99作为Benchmark测出实验数据,对比改进前的结果,可以明显看到Web服务器的性能提高了一倍. Firstly, the definition of Web server performance is elaborated. Then, some key issues of Web server performance are discussed. The key issues are solved in detail from three aspects: application load, server software and server hardware. By comparing the current popular testing tools, select the appropriate application load; Exploratory approach to optimize the server software configuration parameters, thereby reducing the number of tests; By shielding a variety of HTTP requests to identify bottlenecks affecting performance - Dynamic request CAD GET processing. For the kind of request, adjust its proportion in the dynamic request and analyze its impact on different sizes of files in the response speed, and finally optimize the appropriate code. Applying this solution to Dawning 3000 super server and using SPECweb99 as benchmark to test the experimental data, it can be clearly seen that the performance of the Web server has doubled compared with the pre-improvement results.
其他文献