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

线程池的优化设计
引用本文:赵海,李志蜀,韩学为,叶浩.线程池的优化设计[J].四川大学学报(自然科学版),2005,42(1):63-67.
作者姓名:赵海  李志蜀  韩学为  叶浩
作者单位:四川大学计算机学院,成都,610064;四川大学计算机学院,成都,610064;四川大学计算机学院,成都,610064;四川大学计算机学院,成都,610064
摘    要:在各种业务解决方案的设计中,服务器处理任务的效率是衡量方案优劣的一个重要标准.使用线程池技术并发处理任务是提高服务器效率的一个主要手段.在几乎所有线程池的设计中,线程的算法都没有根据线程所要执行的任务特点进行调整,导致实际使用过程中的效率并不高.作者设计了一个通用的线程池,并且可以根据不同任务的特点,调整线程池参数,最大幅度地提高系统性能。

关 键 词:多线程  阻塞  线程池  任务  量级
文章编号:0490-6756(2005)01-0063-05

Optimizing in the Design of Thread Pool
ZHAO Hai,LI Zhi-shu,HAN Xue-wei,Ye Hao.Optimizing in the Design of Thread Pool[J].Journal of Sichuan University (Natural Science Edition),2005,42(1):63-67.
Authors:ZHAO Hai  LI Zhi-shu  HAN Xue-wei  Ye Hao
Abstract:In the designs of various kinds of business solutions,the efficiency of processing tashs in the server is an important standard to weight these solutions.A main means to improve the effciency is to adopt thread poolins thchnology to process task concurrently.But the algorithm of most thread pool based on the characteristic of tasks.As a result,the efficiency of system is improved scarcely.An extensible thread pool is designed in the thesis.It can be set up the corresponding parameters according to the different characteristic of processing tasks in different server.And in this way the improvement of server performance will be the most enormous.
Keywords:multithreading  suspend  thread pool  task  weight  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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