首页 | 本学科首页   官方微博 | 高级检索  
     

基于线程池的高性能服务器软件的设计和实现
引用本文:胡萍,陈志鹏.基于线程池的高性能服务器软件的设计和实现[J].微机发展,2006,16(8):49-50.
作者姓名:胡萍  陈志鹏
作者单位:浙江大学宁波理工学院 浙江宁波315100(胡萍),中国联通杭州分公司 浙江杭州310000(陈志鹏)
摘    要:传统的多线程技术,虽然在提高服务器性能发挥了重要作用,但是在实时系统应用中,由于其频繁的创建和销毁线程的系统开销严重影响了系统性能,因此有效降低这部分开销对进一步提高服务器性能尤为重要。文中在分析传统服务器模型的弊端基础上,提出了基于线程池的服务器模型,并分析说明了线程池技术如何提高服务器性能,最后给出了应用C 语言实现该服务器模型的具体方法。

关 键 词:线程池  C    高性能  服务器
文章编号:1673-629X(2006)08-0049-02
修稿时间:2005年11月23

Design and Realization of Software of High-Performance Server Based on Thread Pool Technology
HU Ping,CHEN Zhi-peng.Design and Realization of Software of High-Performance Server Based on Thread Pool Technology[J].Microcomputer Development,2006,16(8):49-50.
Authors:HU Ping  CHEN Zhi-peng
Affiliation:HU Ping~1,CHEN Zhi-peng~2
Abstract:Though traditional multithread technology is improving server performance and playing an important role,but in the real-time system,because the system expenses of its frequent establishing and destroying thread have influenced systematic function seriously,so it is particularly important to reduce this part of expenses effectively to further improve server performance.This paper has proposed the server model based on thread pool on the basis of analyzing the drawback of the traditional server model,analyzed and proved how thread pool technology raise server performance,provided the method of implementing this server model using C finally.
Keywords:thread pool  C    high-performance  server  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号