期刊文献+

基于完成端口的服务器底层通信模块设计 被引量:18

Design of bottom module of server based on IOCP
下载PDF
导出
摘要 基于Winsock的网络通信模块中,海量客户端连接请求及其数据通信的效率往往成为影响网络服务器效率的关键所在,特别是Web服务器、代理服务器、网络游戏服务器等应用,对底层通信模块性能的要求更为严格。针对实际应用,提出了一种基于完成端口的服务器底层通信模块设计方法,着重解决客户端连接量巨大、小容量数据包频繁收发等问题,在内存管理方面进行了细节优化,并实现了一个应用于实际的服务器底层通讯模块。经测试,该模块达到了项目需求提出的5000人在线的负载标准。 In the communication module which is based on Winsock network, client requirements of great capacity and the efficiency of data communication are often the key points. Especially in the applications of Web server, proxy server and network game server, the performance requirement of bottom communication module is even stricter. To meet the practical requirement, a design method to realize the bottom module of server based on IOCP is proposed in this paper, which particularly solves the problems occurring in the case of that there are client connections of great capacity and the frequent receiving and dispatching of low capacity data packets. In the aspect of memory management, some detailed optimization and realized bottom communication module are made. The mesurent results show that the module has met the load standard of 5000 on-line users.
作者 吴永明 何迪
出处 《信息技术》 2007年第3期115-118,共4页 Information Technology
基金 教育部留学回国人员基金资助项目
关键词 海量客户端 完成端口 高性能 优化 clients of great capacity IOCP high performance optimization
  • 相关文献

参考文献4

二级参考文献7

  • 15.J Postel(ed.).Internet Protocol-DARPA Internet Program Protocol Specification.RFC791,USC/Information Sciences Institute,1981.9
  • 26.PCI Special Interest Group.PCI Local Bus Specification.Revision 2.1. June 1,1995
  • 3Douglas C.Sehmidt, Stephen D.Huston. C++ Network Programming. Addison-Wesley,Boston 2003.
  • 4DouglasC Schmidt.接受器-连接器(Acceptor_Connector),用于连接和初始化通信服务的对象创建模式[M].武汉:华中科技大学出版社,2003..
  • 5Douglas C.Schmidt, Michael Stal, Hans Rohnert, and Frank Buschmann. Pattern-Oriented Software Architecture: Patterns for Concurrent and Networked Objects, Volume 2.Wiley & Sons.New York,2000.
  • 6Doug Lea. Concurrent Java: Design Principles and Patterns,Second Edition. Addison-Wesley. Reading, Massachusetts,1999.
  • 7Frank Busehmann, Regine Meunier. Hans Rohnert, Peter Sommerlad, and Michael Stal. Pattern-Oriented Software Architecture-a System of Patterns. Wiley and Sons. NewYork, 1996.

同被引文献95

引证文献18

二级引证文献29

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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