计算机工程与应用2012,Vol.48Issue(10):68-74,7.DOI:10.3778/j.issn.1002-8331.2012.10.016
面向直播HTTP Streaming系统的HTTP缓存服务器行为优化
Optimization on behavior of HTTP cache server in live HTTP streaming system
摘要
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 unnecessary requests to the origin server periodically so that the scalability of the system is constrained. This paper puts forward 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 enhanced with the optimization.关键词
HTTP Streaming/缓存服务器/缓存更新Key words
HTTP Streaming/ cache server/ cache updating分类
信息技术与安全科学引用本文复制引用
李云飞,谢伟凯,鲁晨平,张智强,申瑞民..面向直播HTTP Streaming系统的HTTP缓存服务器行为优化[J].计算机工程与应用,2012,48(10):68-74,7.基金项目
上海科委科技攻关项目(No.11511503002). (No.11511503002)