期刊文献+

MEANS:基于微线程结构的网络服务器 被引量:1

MEANS:A Micro-thrEad Architecture for Network Servers
下载PDF
导出
摘要 Internet应用需要高性能的网络服务器体系结构.提出MEANS结构,这是一种针对Internet应用的网络服务器软件体系结构.通过引入一种新的线程抽象——微线程,MEANS向上层的程序员提供微线程环境,并通过传统线程并发访问下层操作系统的服务,而微线程的管理和调度则使用事件驱动机制,从而综合多线程和事件驱动结构的各自优点.此外,MEANS还具备通用性、扩展性、健壮性和适应性.经初步验证,在并发策略方面,MEANS具有相似于事件驱动结构的特性;在I/O策略方面,MEANS具有比多线程结构更好的I/O访问特性. Internet applications require high-performance network server architecture.The authors propose a software architecture for network servers,MEANS(micro-thread architecture for network server),which aims at supporting Internet applications.By introducing a new thread abstract,micro-thread,MEANS upwardly provides a multi-micro-thread environment to programmers,and downwardly accesses the OS services concurrently with traditional threads.MEANS adopts the event-driven mechanism to manage and schedule the micro-threads,which takes advantages of both multi-threaded and event-driven architecture.Moreover,MEANS is general purpose,scalable,robust and adaptable.By preliminary evaluation,in the terms of the concurrence policy,MEANS is similar to the event-driven architecture and outperforms the multi-threaded architecture in I O accessing.In particular,when the accessed file set is stored in the memory,the throughput of Hammer(2) server based on MEANS is 37.22% more than Apache based on multi-thread architecture,and 34.88% more than LightTPD based on single thread event-driven architecture,and 35.56% more than flash based on AMPED architecture,and is equal with Haboob based on SEDA architecture.While the accessed file set is stored on the hard disk,Hammer(2) increases the throughput by 191.35% compared with Apache,and 131.3% compared with LightTPD,and 904.16% compared with flash,and 45.6% compared with Haboob.
出处 《计算机研究与发展》 EI CSCD 北大核心 2010年第8期1466-1480,共15页 Journal of Computer Research and Development
基金 国家自然科学基金项目(60773058 60672051) 国家"九七三"重点基础研究发展计划基金项目(2005CB321807)~~
关键词 服务器体系结构 MEANS 服务器性能 并发 I/O server architecture MEANS server performance concurrence I O
  • 相关文献

参考文献12

  • 1Wikipedia.POSIX threads[OL].[2008-01-08].http://en.wikipedia.org/wiki/POSIX-Threads.
  • 2Mosberger D,Jin T.httperf-A tool for measuring Web server performance[C] //Proc of ACM SIGMETRICS Performance Evaluation Review.New York:ACM,1998.
  • 3The Apache Software Foundation.Apache MPM worker[OL].[2008-01-08].http://httpd.apache.org/docs/2.0/mod/worker.html.
  • 4LightTPD.LIGHTTPD fly light[OL].[2008-01-08].http://www.lighttpd.net/.
  • 5Michael Beck.Linux kernel internals 2nd edition[M].New York:Addison-Wesley,1998.
  • 6Welsh M,Culler D,Brewer E.SEDA:An architecture for well-conditioned,scalable Internet services[C] //Proc of the 18th ACM Symp on Operating Systems Principles.New York:ACM,2001.
  • 7Pai V S,Druschel P,Zwaenepoel W.Flash:An efficient and portable Web server[C] //Proc of the Annual Conf on USENIX Annual Technical Conference.Berkeley:USENIX Association,1999.
  • 8Ousterhout J.Why threads are a bad idea (for most purposes)[C] //Proc of the Annual Conf on USENIX Annual Technical Conference.Berkeley:USENIX Association,1996.
  • 9von Behren R,Condit J,Brewer E.Why events are a bad idea (for high-concurrency servers)[C] //Proc of the 9th Conf on Hot Topics in Operating Systems.Berkeley:USENIX Association,2003.
  • 10Lauer H C,Needham R M.On the duality of operating systems structures[C] //Proc of ACM SIGOPS Operating Systems Review.New York:ACM,1979.

二级参考文献2

  • 1W Richard Stevens.UNIX网络编程,连网的API:套接字与XTI(in English),Vol 1,第2版[M].北京:清华大学出版社,1998..
  • 2Richard Stevens W,连网的API:套接字与XTI(in English)(第2版),1998年,1卷

共引文献4

同被引文献4

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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