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

面向直播HTTP Streaming系统的HTTP缓存服务器行为优化
引用本文:李云飞,谢伟凯,鲁晨平,张智强,申瑞民. 面向直播HTTP Streaming系统的HTTP缓存服务器行为优化[J]. 计算机工程与应用, 2012, 48(10): 68-74
作者姓名:李云飞  谢伟凯  鲁晨平  张智强  申瑞民
作者单位:1.上海交通大学 现代远程教育研究中心,上海 2000302.上海交通大学 电子信息与电气工程学院,上海 200030
基金项目:上海科委科技攻关项目(No.11511503002)
摘    要:HTTP缓存服务器是提高HTTP Streaming系统客户并发量的关键环节。但当前主流HTTP缓存服务器,如Nginx、Squid、Varnish等,在缓存资源更新期间的行为都存在不足,当被应用在面向直播的HTTP Streaming系统中时,会周期性地把大量客户端请求转发至源服务器,从而制约了HTTP Streaming系统的可伸缩性。提出一种优化的HTTP缓存服务器在缓存更新期间的行为,即缓存服务器仅向源服务器转发一路客户端请求,缓存更新期间,拒绝其他关于该资源的请求。优化策略在使用最为广泛的Nginx服务器的基础上进行了实现。实验证明,优化后系统的伸缩性得到了显著提高。

关 键 词:HTTPStreaming  缓存服务器  缓存更新  

Optimization on behavior of HTTP cache server in live HTTP streaming system
LI Yunfei , XIE Weikai , LU Chenping , ZHANG Zhiqiang , SHEN Ruimin. Optimization on behavior of HTTP cache server in live HTTP streaming system[J]. Computer Engineering and Applications, 2012, 48(10): 68-74
Authors:LI Yunfei    XIE Weikai    LU Chenping    ZHANG Zhiqiang    SHEN Ruimin
Affiliation:1.E-Learning Lab, Shanghai Jiaotong University, Shanghai 200030, China2.School of Electronic Information and Electrical Engineering, Shanghai Jiaotong University, Shanghai 200030, China
Abstract:HTTP cache server plays a key role in increasing the scalability of HTTP streaming systems. However mainstream cache servers, such as Nginx, Squid and Varnish, behave improperly when the cache file is being updated. When used in live HTTP Streaming systems, this behavior will cause the cache server to deliver many unneces-sary requests to the origin server periodically so that the scalability of the system is constrained. This paper puts for-ward an optimized behavior of the cache server under cache updating period, which is that the cache server just deliver one request to origin server and refuse all the other requests when the cache is being updated. The optimization strategy is implemented on Nginx. The evaluation results show that the scalability of the system is significantly en-hanced with the optimization.
Keywords:HTTP Streaming  cache server  cache updating
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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