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

基于完成端口的服务器底层通信模块设计
引用本文:吴永明,何迪.基于完成端口的服务器底层通信模块设计[J].信息技术,2007,31(3):115-118.
作者姓名:吴永明  何迪
作者单位:上海交通大学电子工程系,上海,200030
基金项目:教育部留学回国人员科研启动基金
摘    要:基于Winsock的网络通信模块中,海量客户端连接请求及其数据通信的效率往往成为影响网络服务器效率的关键所在,特别是Web服务器、代理服务器、网络游戏服务器等应用,对底层通信模块性能的要求更为严格。针对实际应用,提出了一种基于完成端口的服务器底层通信模块设计方法,着重解决客户端连接量巨大、小容量数据包频繁收发等问题,在内存管理方面进行了细节优化,并实现了一个应用于实际的服务器底层通讯模块。经测试,该模块达到了项目需求提出的5000人在线的负载标准。

关 键 词:海量客户端  完成端口  高性能  优化
文章编号:1009-2552(2007)03-0115-04
修稿时间:2006-09-14

Design of bottom module of server based on IOCP
WU Yong-ming,HE Di.Design of bottom module of server based on IOCP[J].Information Technology,2007,31(3):115-118.
Authors:WU Yong-ming  HE Di
Affiliation:Department of Electronie Engineering, Shanghai Jjaotong University, Shanghai 200030, China
Abstract: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.
Keywords:clients of great capacity  IOCP  high performance  optimization
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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