摘要
随着网络用户的日益猛增,Web服务器端承受的压力越来越大,除了提高Web服务器端的硬件配置,使用纯软件技术来提升Web服务器性能变得越来越关键。为了能从程序运行的角度提升Web服务器性能,本文在传统的Web服务器多线程处理方案的基础上,设计一种线程池模型,对Web服务器端多线程进行统一管理。通过使用线程池来管理多线程,可以避免频繁的创建和销毁线程,降低系统消耗,进而提升Web服务性能。
With the increase of web users quickly, the pressure on web server side is become greater and greater. Except getting the better hardware, using the technology of software to improve the web server performance is the key. For improving the web server performance in terms of program running, this paper base on the traditional solution of multithread on web server, devise the model of threadpool to manage the multithread on web server side. With managing multithread using this model, the web server may avoid creating and destroying thread frequently, reduce the consumption of system and improve the web server performance.
出处
《山西农业大学学报(自然科学版)》
CAS
2008年第4期487-490,共4页
Journal of Shanxi Agricultural University(Natural Science Edition)