期刊文献+

两种线程池的实现和性能评价 被引量:10

Implementation and performance evaluation of two thread pools
下载PDF
导出
摘要 线程池被广泛地应用在中间件如Web应用服务器、事务监控器等的实现中。实现线程池的方法主要有半同步/半异步(Half-Sync/Half-Asyn)模式和领导者/跟随者(Leader/Follower)模式。实现了这两种线程池,从理论上分析了它们的性能,并进行了性能实验。实验数据表明Leader/Follower模式具有较高的性能优势。 Thread pool is widely used in the implementation ofmiddleware such as web application server and transaction monitor. HalfSync/Half-Asyn pattern and leader/follower pattern are mostly used in the implementation of a thread pool. These two patterns is implemented, then their performance is analyzed from the view of theory and experiments. The experimental results show that leader/follower has better performance.
作者 李刚 金蓓弘
出处 《计算机工程与设计》 CSCD 北大核心 2007年第7期1489-1492,1531,共5页 Computer Engineering and Design
基金 国家863高技术研究发展计划基金项目(2003AA115440) 国家973重点基础研究发展计划基金项目(2002CB312005)。
关键词 多线程 线程池 设计模式 半同步/半异步 领导者/跟随者 multithread thread pool design pattem half-sync/half-async leader/follower
  • 相关文献

参考文献10

  • 1Andrew S Tanenbaum.Martenvan Steen.分布式系统原理与范例(英文影印版)【M】.北京:清华大学出版社,2002.
  • 2Harkema M, Gijsen B M M, van der Mei R D, et al. Performance comparison of middleware threading strategies [C]. California,USA: Proc of International Symposium on Performance Evalua-tion of Computer and Communication Systems,SCS Press, 2004.
  • 3Pyarali I, Spivak M, Cytron R, et al. Evaluating and optimizing thread pool strategies for real-time CORBA[C].New York, USA:Proceedings of the ACM SIGPLAN Workshop on Languages,Compilers and Tools For Embedded Systems, ACM Press, 2001.214-222.
  • 4Ling Y, Mullen T, Lin X. Analysis of optimal thread pool size[C].New York, USA: ACM Operating Systems Review, SIGOPS, ACM Press, 2000.42-55.
  • 5Schmidt D C,Stal M,Rohnert H,et al.面向模式的软件体系结构,卷2:用于并发和网络化对象的模式[M].北京:机械工业出版社,2003.
  • 6Schmidt DC.Huston SD.C++网络编程,卷1:运用ACE和模式消除复杂性(英文影印版)【M】.北京:清华大学出版社,2004.
  • 7Mercury Interactive.Loadrunner controller user's guide windows version 7.6[EB/OL]. http://www.mercury.corn/us/products/performance-center/loadrunner/.
  • 8Mercury Interactive. Loadrunner analysis user's guide version7.6[EB/OL].http://www.mercury.com/us/products/performancecenter/loadrunner/.
  • 9邵鸣年,张昕.一种分布式系统中线程池的设计与实现[J].计算机工程与设计,2005,26(1):7-11. 被引量:3
  • 10林舒萍,罗键.设计模式的应用研究[J].计算机工程与设计,2005,26(11):2980-2982. 被引量:38

二级参考文献14

  • 1泮海敏,陈奇.一个基于模式的快速查询构建系统[J].计算机工程与设计,2005,26(1):174-176. 被引量:4
  • 2Philip A. Bernstein, Eric Newcomer. Principles of transaction processing[M]. Morgan Kaufmann Publishers, 1997.
  • 3Douglas C Schmidt, Carlos O'Ryan, Irfan Pyarali. Leader/followers: A design pattern for E-cient multi-threaded event demultiplexing and dispatching[C]. Illinois:Proceedings of the 7th Pattern Languages of Programs Conference, 2000.
  • 4X/Open corporation, the XATM(transaction demarcation) specification[S]. 1995.
  • 5Schmidt D, Stal M, Rohnert H. Pattern-oriented software architecture-concurrent and networked objects [M]. John Wiley and Sons, 2000.
  • 6Douglas C Schmidt. Reactor: An object behavioral pattern for current event demultiplexing and event handler dispatching[C].Proceedings of the 1 st Pattern Languages of Programs Conference, 1994.
  • 7Hu J C, Pyarali I, Schmidt D C. The object-oriented design and performance of JAWS: A high-performance web server optimized for high-speed networks [J]. Parallel and Distributed Computing Practices Journal, Special Issue on Distributed ObjectOriented Systems, 2000, 3(3).
  • 8Delarue A, Fernandez E B, Extension and java implementation of the reactor-acceptor-connector pattern combination[C]. Proceedings of the 1999 Conference on Pattern Languages of Programming, 1999.
  • 9BuschmannFrank.面向模式的软件体系结构(卷1):模式系统[M].北京:北京机械工业出版,2003..
  • 10GammaErich.设计模式可复用面向对象软件的基础[M].北京:北京机械工业出版,2000..

共引文献40

同被引文献59

引证文献10

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部