Squid小文件缓存优化的设计与实现
[Abstract]:Improving web browsing speed and user experience is a common challenge and long-term direction for all web service providers. As one of the basic methods to improve the quality of network service, the proxy server is paid more and more attention by the industry. Squid is a typical proxy server, which supports the proxy of data objects such as HTTP and FTP. Supported by diversified access control and multiple operating system platforms, Squid is the most widely used proxy server in the world. Squid uses web caching to reduce network bandwidth and improve response speed. This paper studies the cache of small files in Squid, designs and implements an algorithm to identify hot data, improve the hit rate of cache, and design and implement software module. The main work of this paper is as follows: (1) the research background of this paper mainly includes: analyzing the methods of improving network service, introducing proxy server, The existing small file storage system is studied and the methods to optimize the mass small file storage are summarized. (2) the structure and implementation principle of Squid are analyzed, especially the research on Coss storage module. The key problems of the system in small file storage are put forward. (3) A scheme of grading buffer for cold and hot data is designed and implemented. This paper describes and implements the relocation cache method. (4) after analyzing the key problems of how to identify hot data in hierarchical cache and comparing several schemes to identify hot data, an adaptive sliding window mechanism is proposed. Through the implementation of the scheme to further improve the system performance. (5) selected several key network agent service benchmark, respectively before the system is not optimized, the first optimization and the second optimization after the performance of the test analysis. The test results show that the optimized Coss storage system can cache hot data better in the presence of a large number of small files, thus reducing the disk I / O operation and improving the overall performance of the system. The research results of this paper also have good reference value for the cache design of other mass small file storage systems.
【学位授予单位】:上海交通大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP333
【相似文献】
相关期刊论文 前10条
1 沈京津;用DHCP服务器和Squid代理服务器对LAN上的用户进行存取控制[J];电脑编程技巧与维护;2000年06期
2 杨英;Linux下用Squid实现局域网用户访问Internet的身份验证[J];计算机应用研究;2000年10期
3 ;世界传感器市场分析(十四)——超导量子干涉检电传感器[J];传感器世界;2001年05期
4 王国平;通过SQUID代理服务器过滤黄色网站[J];现代图书情报技术;2004年11期
5 曲津莉,马桂英;在Linux下用Squid实现代理上网[J];电脑知识与技术;2005年05期
6 王晓辉,金新,童红武,姚希贤;射频SQUID内禀噪声的研究[J];低温与超导;1990年04期
7 谢飞翔,王世光,戴远东;低噪声SQUID模拟器[J];低温物理学报;2000年03期
8 陶洪图;一种用于0.5K以下范围可自检的铑铁电阻式SQUID温度计[J];低温与超导;1982年04期
9 范长鑫,吴皖光,沈云虎;RF-SQUID测量系统的两个单元电路[J];低温与超导;1987年04期
10 吴强;Linux下代理服务器的安装与调试[J];铁道机车车辆工人;2002年03期
相关会议论文 前10条
1 ;Isolation and Characterization of Pepsin-Soluble Collagen from the Skin of Peru Squid(Dosidicus Gigas)[A];渔业科技创新与发展方式转变——2011年中国水产学会学术年会论文摘要集[C];2011年
2 石惠敏;於亚飞;张智明;;在CircuitQED中用一个SQUID实现Toffoli门[A];第十五届全国量子光学学术报告会报告摘要集[C];2012年
3 杨乾声;陈赓华;杜寰;赵士平;徐凤枝;;全铌隧道结的工艺以及dc SQUID研究[A];第四届全国低温工程学术会议论文集[C];1999年
4 任勇;朱立谷;张雷;彭建峰;;新型虚拟文件存储系统的设计[A];第15届全国信息存储技术学术会议论文集[C];2008年
5 陶志阔;张荣;崔旭高;修向前;谢自力;顾书林;韩平;施毅;江若琏;郑有p,
本文编号:2122084
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2122084.html