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

线程池技术在B/S 网络管理软件架构中的应用
引用本文:霍永华,曹毅,刘文,李文.线程池技术在B/S 网络管理软件架构中的应用[J].计算机与网络,2014(6):49-52.
作者姓名:霍永华  曹毅  刘文  李文
作者单位:[1] 中国电子科技集团公司第五十四研究所,河北石家庄050081 [2] 总参信息化部驻石家庄地区军代室,河北石家庄050081 [3] 信息化部档案馆,北京100000 [4] 中国电子系统设备工程公司研究所,北京100000
摘    要:针对网络管理软件后台存在应用服务器的数据处理量多和资源消耗过大的问题,提出了改进算法,研究了线程池技术,包括线程池的工作原理、线程池使用方式、线程池配置方法、线程池监控方法和线程池的关闭方法。线程池根据基本线程池、工作队列和整个线程池的饱和情况进行工作,依据任务性质、任务优先级、任务执行时间和任务依赖性进行线程配置,以达到高效执行和最优资源的利用。

关 键 词:线程池  工作队列  任务队列  任务优先级

Application of Thread Pool Technology in B/S Network Management Software Architecture
HUO Yong-hua,CAO Yi,LIU Wen,LI Wen.Application of Thread Pool Technology in B/S Network Management Software Architecture[J].China Computer & Network,2014(6):49-52.
Authors:HUO Yong-hua  CAO Yi  LIU Wen  LI Wen
Affiliation:1 The 54th Research Institute ofCETC, Shijiazhuang Hebei 050081, China) (2 Military Representative Office of lnfimnation Technology 1)epartment of PLA General Staff Headquarters Stationed in Shijiazhuang Region, Shijiazhuang Hebei 050081, China) (3 The Archives of Ministry of Industry and Infimnation Technology, Beijing 100000, China) (4 Institute of China Electronics System Engineering Company, Beijing 100000, China)
Abstract:Aiming at the problems of large data processing capacity and excessive resource consumption of application server existing in the background of network management software, this paper proposes an improved algorithm and studies such thread pool technology as operational principle, usage mode, configuration method, monitoring method and shutdown method of thread pool. The thread pool works according to the saturation situation of basic thread pool, work queue and whole tread pool. The thread configuration is carried out according to task nature, priority, execution time and interdependence, in order to achieve the efficient implementation and the optimal usage of resources.
Keywords:thread pool  work queue  task queue  task priority
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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