检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.40