一种具有可伸缩服务能力的高性能Web代理服务器  被引量:1

A high performance Web proxy server with flexible service ability

在线阅读下载全文

作  者:朱树人[1] 彭妮[1] 

机构地区:[1]长沙理工大学计算机与通信工程学院

出  处:《中南大学学报(自然科学版)》2005年第6期1064-1068,共5页Journal of Central South University:Science and Technology

基  金:湖南省自然科学基金资助项目(03JJY3102);湖南省教育厅科学研究基金资助项目(05C247)

摘  要:用非对称多进程事件驱动(AMPED)模型提高代理服务器高并发请求同步增长的可伸缩服务能力,扩展了AMPED模型的代理服务功能。同时,给出了Web代理服务器关键模块的设计与实现。该Web代理服务器定义了1个主进程,6个helper进程,其中2个helper进程从磁盘上读文件的in ode信息,4个helper进程从磁盘上读文件的内容,解决了I/O慢速处理和CPU快速处理之间的矛盾。事件驱动模块采用回调函数解决并发请求和状态跳转的管理。页面缓存模块采用自适应缓冲置换策略,根据资源大小,将大于阈值的资源按LRU算法移走,实现对页面的高效管理。测试结果表明,该web代理服务器在负载平均为9KB,处理请求数能达到800个/s,具有较强的并发请求处理能力。Asymmetric multiprocess event driven (AMPED) model was used to improve the ability for Web proxy server to deal with hundreds of requests, and extend the proxy service functionality of AMPED. At the same time, the design and implementation of the important parts of this Web proxy server was designed and implemented. This proxy server defined a main process and six helper processes, among them two helper processes read in ode information of the files from the magnetic disc, four helper processes read the contents of the files from the magnetic disc. The event-driven part adopted callback function to finish processes management and state conversion, and the adaptive cache technology was applied to this proxy server, and the resources that are bigger than a certain value are removed based on LRU algorithm, according to the size of resources. The experiment results show that under the load of 9 Kb in average, it can serve 800 requests per second, so this proxy server has high processing ability.

关 键 词:代理服务器 AMPED模型 事件驱动 可伸缩服务能力 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象