计算机工程
計算機工程
계산궤공정
COMPUTER ENGINEERING
2013年
12期
70-74,78
,共6页
郭庆涛%孙强强%李永攀%于晓军%郑滔
郭慶濤%孫彊彊%李永攀%于曉軍%鄭滔
곽경도%손강강%리영반%우효군%정도
海量连接%海量数据%高性能服务器框架%TCP协议栈%拥塞窗口%Nagle算法
海量連接%海量數據%高性能服務器框架%TCP協議棧%擁塞窗口%Nagle算法
해량련접%해량수거%고성능복무기광가%TCP협의잔%옹새창구%Nagle산법
massive connection%massive data%high performance server framework%TCP protocol stack%congestion window%Nagle algorithm
为构建面向海量数据和连接的互联网应用服务器,提出一种轻量级的高性能服务器开发框架 LHP-Svrframe。除服务器开发框架的常用模块(如网络通信管理、自定义协议开发以及进程处理模型等)外,LHP-Svrframe特别提供针对TCP/IP通信协议和进程模型额外的优化设计,如对NIC网卡中断的负载均衡、拥塞窗口的动态调整、ACK延时机制的改进等。与Apache、Lighttpd、ACE等网络服务器或开发框架的对比结果表明,使用LHP-Svrframe开发的应用服务器在最大连接数和吞吐量上性能可提升4~8倍。
為構建麵嚮海量數據和連接的互聯網應用服務器,提齣一種輕量級的高性能服務器開髮框架 LHP-Svrframe。除服務器開髮框架的常用模塊(如網絡通信管理、自定義協議開髮以及進程處理模型等)外,LHP-Svrframe特彆提供針對TCP/IP通信協議和進程模型額外的優化設計,如對NIC網卡中斷的負載均衡、擁塞窗口的動態調整、ACK延時機製的改進等。與Apache、Lighttpd、ACE等網絡服務器或開髮框架的對比結果錶明,使用LHP-Svrframe開髮的應用服務器在最大連接數和吞吐量上性能可提升4~8倍。
위구건면향해량수거화련접적호련망응용복무기,제출일충경량급적고성능복무기개발광가 LHP-Svrframe。제복무기개발광가적상용모괴(여망락통신관리、자정의협의개발이급진정처리모형등)외,LHP-Svrframe특별제공침대TCP/IP통신협의화진정모형액외적우화설계,여대NIC망잡중단적부재균형、옹새창구적동태조정、ACK연시궤제적개진등。여Apache、Lighttpd、ACE등망락복무기혹개발광가적대비결과표명,사용LHP-Svrframe개발적응용복무기재최대련접수화탄토량상성능가제승4~8배。
This paper proposes a brand new light-weight high performance server framework(LHP-Svrframe) for new generation server development, whose intension is for building a high performance server of massive connection and massive data. The difference from current frameworks is LHP-Svrframe focuses on TCP stack and process model and does especial optimization design, such as load balancing in NIC interrupts, dynamic adjust size of the congestion window, and optimization of the delayed ACK mechanism, et al. Experimental results in the end prove that the LHP-Svrframe performs much better than its counterparts like Apache, Lighttpd and ACE, with four times even eight times better.