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

完成端口实现高性能服务端通信层的关键问题
引用本文:廖宏建,杨玉宝,唐连章.完成端口实现高性能服务端通信层的关键问题[J].计算机应用,2012,32(3):812-815.
作者姓名:廖宏建  杨玉宝  唐连章
作者单位:广州大学网络与现代教育技术中心,广州,510006
摘    要:为实现高性能稳定的网络通信服务,对完成端口(IOCP)应用中信息识别与提取、资源管理、消息乱序处理3个关键问题进行了分析,提出了IOCP参数扩展、内存池、对象池、环形缓冲等改进的解决方法.使用这些方法对IOCP底层进行了封装,并设计和实现了面向企业应用的可扩展网络程序通信模块.压力和性能测试结果表明,该模块能在合理资源消耗基础上支持海量并发连接,具有较高的数据吞吐量,在实际项目应用中也表现出了良好的性能.

关 键 词:完成端口  I/O模型  套接字  内存池  环形缓存

Key issues of high-performance server communication layer by using I/O completion port
LIAO Hong-jian , YANG Yu-bao , TANG Lian-zhang.Key issues of high-performance server communication layer by using I/O completion port[J].journal of Computer Applications,2012,32(3):812-815.
Authors:LIAO Hong-jian  YANG Yu-bao  TANG Lian-zhang
Affiliation:(Network and Modern Education Technology Center,Guangzhou University,Guangzhou Guangdong 510006,China)
Abstract:In order to achieve high-performance and stable network communication service,the key issues of client information identifying and extracting,resource management and message sequence dealing in I/O Complete Port(IOCP) development were analyzed.And the improved methods of IOCP parameter extension,memory pool,object pool and ring-buffer were proposed respectively.On the basis of underlying encapsulation for IOCP using these methods,a scalable network communication module for enterprise applications was designed and implemented.The experimental results show that the module can support massive concurrent connections,and has higher data throughput by reasonable resource consumption.The proposed solution has also showed good performance in the actual project application.
Keywords:I/O Complete Port(IOCP)  I/O model  socket  memory pool  ring buffer
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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