Font Size: a A A

The Research Of Function Extension Based On The Emcached Cache

Posted on:2013-07-31Degree:MasterType:Thesis
Country:ChinaCandidate:S Q DengFull Text:PDF
GTID:2248330371496111Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Cache technology has been widely applied with the continuous development of computer science. In recent years, with the popularity of Internet, there is a dramatic increase of Internet users which also makes the high-speed cache technology a hot topic in the research field. High-speed cache technology can effectively improve the system response speed, reduce the network bandwidth consumption and network congestion, and thus solve the problems caused by the large amount of data and frequently updated information. Hence, excellent cache architecture becomes a key factor for large-scale Internet applications to achieve massive data processing, concurrent access of a huge number of users and to provide great user experience.In this paper, some currently used cache technologies and features of their products are presented firstly, which is followed by a profound analysis of high-speed cache system called Memcached and its architecture, principle and mechanism; secondly some work which has been done to improve the functionality of Memcached model due to its existing defects and deficiencies is presented. Then through an analysis of Memcaced’source code, features such as cache traversal, data persistence and system log are introduced as expanded functions in the improved model. During the achievement of these functions, the coupling degree between the persistent modules’interfaces is lowered by using the factory method; in the meantime, the disk I/O overhead is effectively reduced by applying bulk data storage strategy; the reliability and security of system data is augemented with the use of data storage interface trigger strategy. And in the design of cache data traversal, data is transmitted in packages in order to reduce the memory consumption. In the last part of this paper, by adopting the black box testing technique combined with the manual and automatic testing method, a verification test is worked out to evaluate the performance of the improved system. Observed result shows that, expanded functions can perfectly integrate with the former system and what’s more, outperform the original Memcached model without incurring additional overhead.
Keywords/Search Tags:Memcached, Cache technology, Replacement strategy, Persistence
PDF Full Text Request
Related items