基于Memcached的高速緩存功能擴(kuò)展研究
[Abstract]:With the development of computer technology, cache technology has been widely used. In recent years, the popularity of the Internet has led to a sharp increase in Internet users, cache technology has become a research hotspot. The application of cache technology can effectively improve the system response speed, reduce the network bandwidth consumption, reduce network congestion, so as to solve the problem caused by the large amount of data and the frequent update of information. A good cache architecture is the key to realize massive data processing, multi-user concurrent access and good user experience in large-scale Internet application systems. In this paper, the characteristics of cache technology and its products are analyzed, and the architecture, working principle and internal implementation mechanism of cache system Memcached are deeply analyzed. On this basis, the defects and shortcomings of Memcached are pointed out. Its function is extended and improved. Through Memcaced source code analysis, further extended cache data traversal, data persistence and system logging functions. In the process of implementing the extended function, the factory design pattern is used to reduce the coupling degree between the persistent module interfaces. At the same time, by introducing batch data saving strategy, I / O overhead of disk is reduced effectively, and a variety of data saving interface trigger mechanisms are adopted to increase the reliability and security of the system data. In the design of cache data traversal, data batch is used to reduce memory overhead. Finally, this paper uses black box test technology to test the extended functions of the system by the combination of manual test and automatic test, and analyzes its performance. The test results show that the extended function not only effectively compensates the deficiency of Memcached in function design, but also enriches its application, at the same time, the new function will not add too much extra overhead. Fully able to work together with previous functions.
【學(xué)位授予單位】:西南交通大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP333
【參考文獻(xiàn)】
相關(guān)期刊論文 前9條
1 王嘉佳;張前進(jìn);;基于SASL的LDAP認(rèn)證機(jī)制研究[J];電子科技;2006年11期
2 孟彩霞;葉海琴;;Web緩存替換算法綜述[J];福建電腦;2009年09期
3 涂小朋;汪林林;;分布式空間數(shù)據(jù)庫中基于事務(wù)的客戶端高速緩存技術(shù)研究[J];計算機(jī)科學(xué);2004年06期
4 楊春貴;吳產(chǎn)樂;彭鴻雁;;一種有效的Web代理緩存替換算法[J];計算機(jī)工程;2007年03期
5 符青云;劉心松;;基于分布式協(xié)同緩存機(jī)制的Web Proxy研究[J];計算機(jī)工程;2007年11期
6 沈千里;基于SASL的SMTP認(rèn)證的分析與實(shí)現(xiàn)[J];計算機(jī)應(yīng)用;2004年03期
7 曹麗娟;謝強(qiáng);丁秋林;;基于分布式數(shù)據(jù)緩存技術(shù)的Web-OLAP系統(tǒng)研究[J];計算機(jī)應(yīng)用;2008年02期
8 趙鯤鵬;蘇葆光;;Linux內(nèi)存管理中的Slab分配機(jī)制[J];現(xiàn)代計算機(jī);2006年05期
9 樂德廣,郭東輝,吳伯僖;網(wǎng)絡(luò)緩存技術(shù)及應(yīng)用的研究[J];計算機(jī)系統(tǒng)應(yīng)用;2003年05期
相關(guān)碩士學(xué)位論文 前4條
1 蒲胤;分布式緩存安全驗(yàn)證組件的設(shè)計與實(shí)現(xiàn)[D];重慶大學(xué);2010年
2 王會霞;Web流量特征模型的研究和應(yīng)用[D];鄭州大學(xué);2007年
3 杜秉一;基于關(guān)聯(lián)規(guī)則緩存策略的分布式視頻點(diǎn)播系統(tǒng)的研究和設(shè)計[D];華中科技大學(xué);2008年
4 狄剛;HTTP實(shí)現(xiàn)代理服務(wù)器及緩存替換算法的研究[D];吉林大學(xué);2010年
,本文編號:2392185
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2392185.html