Web集群负载可扩展性架构分析及性能评价
Analysis and Performance Evaluation of Web Server Extensible Architecture Implementing Cluster and Load Balance
DOI: 10.12677/SEA.2013.25021, PDF, HTML, 下载: 3,444  浏览: 9,917  国家自然科学基金支持
作者: 刘兵伟:克拉玛依市排水管理处,克拉玛依;邬群辉:上海浦理信息科技有限公司,上海;杜军辉:上海理工大学光电信息与计算机工程学院,上海
关键词: 集群负载Apache服务器Nginx服务器Tomcat服务器反向代理 Cluster and Load Balance; Apache HTTP Server; Nginx HTTP Server; Tomcat Server; Reverse Proxy
摘要:

本文通过对基于Apache的Tomcat集群和基于Nginx的Tomcat集群的配置,在相同网络环境下进行单位时间内处理请求数、平均响应时间等性能的测试,提出一种更具扩展性的Tomcat集群,既融合了Nginx高效节能特点,又具备Apache的灵活性和普适性优点。通过分析、设计和性能测试,验证了这种Web服务器集群在性能和实际操作中的优越性。

Abstract: Configuring Tomcat clusters based on Apache and Nginx respectively, and comparing the performance including TPS (Transaction Per Second) and ART (Average Response Time) under the same network environment, a more extensible structure combining the effectiveness and resource-saving of Nginx and the flexibility and popularity of Apache is designed. Finally the analysis, design and the performance test of the proposed web server cluster are demonstrated superior on performance and practical operation.
文章引用:刘兵伟, 邬群辉, 杜军辉. Web集群负载可扩展性架构分析及性能评价[J]. 软件工程与应用, 2013, 2(5): 118-123. http://dx.doi.org/10.12677/SEA.2013.25021

参考文献

[1] 刘振宇. 利用Nginx实现网站负载均衡[J]. 中国管理信息化, 2012, 15(16): 96.
[2] 张宴. 实战Nginx: 取代Apache的高性能Web服务器[M]. 北京: 电子工业出版社, 2010: 5-6.
[3] 陶利军. 决战Nginx: 高性能Web服务器部署与运维[M]. 北京: 清华大学出版社, 2012: 1,159-190.
[4] 刘薇. 基于J2EE架构的分布式静态页面生成分析与设计[J]. 福建工程学院学报, 2010, 8(1): 90-93.
[5] 孙仁鹏. Tomcat与Apache集成的研究[J]. 电脑编程技巧与维护, 2011, 14: 6-8.
[6] 刘尚旺, 何东健, 闫艳. Tomcat与IIS或Apache服务器集成的应用研究[J]. 计算机工程与设计, 2009, 30(10): 2543-2546.
[7] 郝海峰, 徐海峰, 叶俊. 基于Windows平台的JSP Web服务器架设[J]. 计算机与数字工程, 2007, 35(8): 68-70.
[8] 王江伟. Apache服务器配置与使用工作笔记[M]. 北京: 电子工业出版社, 2012: 1-5.
[9] 吴翔毅. Nginx在校园网络中的应用研究[J]. 福建电脑, 2009, (7): 103-104.
[10] C. Nedelcu 著, 陶利军 译. 学习Nginx HTTP Server(中文版)[M]. 北京: 清华大学出版社, 2012: 103-105.
[11] X. N. Chi, B. C. Liu, Q. Niu and Q. X. Wu. Web load balance and cache optimization design based Nginx under high concur- rency environment. IEEE, 2012: 1029-1032.
[12] J. Zhao, K. S. Trivedi. Performance modeling of apache web server affected by aging. IEEE, 2011: 56-61.