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

基于Linux内核2.4的高性能HTTP代理
引用本文:张黄瞩,翁恺,陈纯.基于Linux内核2.4的高性能HTTP代理[J].江南大学学报(自然科学版),2006,5(6):645-649.
作者姓名:张黄瞩  翁恺  陈纯
作者单位:浙江大学,计算机科学与技术学院,浙江,杭州,310027
基金项目:国家863计划项目(2002AA1Z2303)
摘    要:设计和实现了基于Linux 2.4内核的高性能的HTTP代理KHttpProxyd.KHttpProxyd作为一个Linux内核模块,减少了用户态和内核态的频繁切换,最大限度地利用Linux强大的网络功能;采用轮询模式对多用户进行服务,克服了多线程模式在大容量客户时产生的性能瓶颈;描述了KHttpProxyd的功能设计、流程结构和具体实现,阐述了实现中的关键技术,比较了Linux内核编程和用户态编程,提出了因此内核编程获得的优点.最后通过测试数据的对比,可以看出KHttpProxyd相对于其他HTTP PROXY在性能上得到明显的提高.

关 键 词:超文本传输协议  轮询  内核态  用户空间态  代理
文章编号:1671-7147(2006)06-0645-05
收稿时间:2005-05-09
修稿时间:2005-06-26

High Performance Http Proxy Based on Linux Kernel 2.4
ZHANG Huang-zhu,ONG Kai,CHEN Chun.High Performance Http Proxy Based on Linux Kernel 2.4[J].Journal of Southern Yangtze University:Natural Science Edition,2006,5(6):645-649.
Authors:ZHANG Huang-zhu  ONG Kai  CHEN Chun
Institution:College of Computer Science, Zhejiang University, Hangzhou 310027 ,China
Abstract:The paper presents design and implementation of a high performance HTTP proxy named "KHttpProxyd",which is based on Linux Kernel 2.4,and serves as a kernel module.It avoids kernel mode and user space mode switch and invokes network methods directly and more efficiently.To avoid performance bottleneck of multi-thread mode when the number of users becomes large,KHttpProxyd adopts polling policy to serve multi-users.It describes the functionality,architecture and implementation of KHttpProxyd,expatiates on the key technology and theories in implementing,compares Linux kernel programming with user space programming,analyses the benefit gains from kernel programming.At the end,as the test data shows,the performance of KHttpProxyd is much better than other HTTP proxy.
Keywords:HTTP  poll  kernel mode  user space mode  proxy
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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