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

基于分段的线程池尺寸自适应调整算法
引用本文:孙旭东,韩江洪,刘征宇,解新胜.基于分段的线程池尺寸自适应调整算法[J].计算机工程,2011,37(2):43-44.
作者姓名:孙旭东  韩江洪  刘征宇  解新胜
作者单位:1. 合肥工业大学计算机与信息学院,合肥,230009
2. 合肥工业大学计算机与信息学院,合肥,230009;合肥工业大学安全关键工业测控技术教育部工程研究中心,合肥,230009
3. 合肥工业大学机械与汽车工程学院,合肥,230009
摘    要:提出一种基于分段的线程池尺寸自适应调整算法。该算法将用户请求量分为上升段、平衡段和下降段3段,根据当前用户请求数、线程数自适应调整线程池尺寸,从而满足用户需求。实验结果表明,相比基于平均数的调整算法,该算法能更好地处理并发的用户请求,响应时间更短。

关 键 词:线程池  并发用户请求  尺寸自适应调整

Thread Pool Size Adaptive Adjusting Algorithm Based on Segmentation
SUN Xu-dong,HAN Jiang-hong,LIU Zheng-yu,XIE Xin-sheng.Thread Pool Size Adaptive Adjusting Algorithm Based on Segmentation[J].Computer Engineering,2011,37(2):43-44.
Authors:SUN Xu-dong  HAN Jiang-hong  LIU Zheng-yu  XIE Xin-sheng
Affiliation:SUN Xu-donga,HAN Jiang-honga,c,LIU Zheng-yub,XIE Xin-shenga(a.School of Computer and Information,b.School of Mechanical and Automotive Engineering,c.Engineering Research Center of Safety Critical Industry Measure and Control Technology of Ministry of Education,Hefei University of Technology,Hefei 230009,China)
Abstract:This paper presents a thread pool size adaptive adjusting algorithm based on segmentation.User request quantity is divided into rising balancing and dropping section.This algorithm changes the size of the thread pool based on present request and thread in order to meet need of user requirement.Experimental results show that this algorithm can effectively process multiple concurrent requests,its response time is shorter compared with adjusting algorithm based average value.
Keywords:thread pool  concurrent user request  size adaptive adjusting  
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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