摘要
当前互联网大多是B(Browser)/S(Server)、C(Client)/S(Server)结构的应用模式。服务器要处理大量的客户请求,线程池技术被引入以提高性能。首先介绍线程池如何改进服务器程序性能,然后分析线程池在服务器程序应用中的不足,并提出一个改进的线程池机制。最后给出改进机制的实现。
Most of the application modes of Intemet are B/S or C/S, Servers meet great number of requests, and thread pool is appliect to improve the performance. This asticle firstly describes how the technique of thread pool works, analyzing the shortages, and then puts forward an improved method, At last we give the implementation of the server employing the new method.
出处
《计算机与数字工程》
2005年第10期133-136,共4页
Computer & Digital Engineering
关键词
线程池
服务器
完成端口
状态
Thread Pool, Server, Completion Port, State