为解决高并发Web应用系统响应时间过长、系统易崩溃等性能问题,分析高并发Web应用系统的性能瓶颈并提出优化策略。根据高并发Web应用系统常规的系统架构,分别从Web应用前端、后台程序代码、数据库、Web应用中间件配置以及服务器负载5个方面阐述了优化方案,并以全国基层农业技术推广体系管理信息系统为例实现了优化策略验证。验证结果表明,该系统响应速度平均提高20%左右,服务器CPU利用率平均降低40%左右,系统性能优化获得较好效果。
To solve the problem of long response time, easily-down servers and other performance issues in a high concurrency Web application system, an optimal strategy was presented after the performance bottleneck was analyzed. According to the architecture of conventional high concurrent Web application system, the optimization strategy was put forward in five aspects including the Web front-end, Web application background program codes, the database, the Web middleware and the configuration of application server. The optimization strategy was verified based on the national agricultural technology extension and the information management system. The optimization results show that the response speed of the system is improved by an average of about 20% and the CPU utilization rate of application server is reduced by an average of about 40%, which illustrate that the re sponse time and load capacity of the system are both improved.