The Design and Implementation of Distributed Cache Security Authentication Component

Author
PuZuo
Advisor
ZhangYi
School
Chongqing University
Major
Computer Software and Theory
Classification
TP333 Memory
Degree
Master's thesis
Year
2010
Downloads
51
Citations
2

Request the full text

Abstract

Distributed Cache technology is always in the spotlight in research of theory and applications, especially in recent years. The scale of network application is growing, as the development of spreading of Internet. Not only has the network application itself become larger and larger, but also the number of the users is increasing. Internet is not only the tool which push information towards the network users anymore because of the spread and popularity of Web 2.0. Now Internet appears a place for sharing personal information, experiences, photos, videos and music. It advocates that users can initiative publish their stuff into Internet. Many social networks which driven by the conception of Web2.0 were established in a short time, such as Facebook, LinkedIn, MySpace, Twitter and so forth. These applications formed lots of large communities which owned large number of users. There are common points among these applications, those are the amount of users and frequent in updating. Moreover, because of the development in e-commerce in recent years, more and more people tend to shop online. The e-commerce web sites such as Taobao.com, Paipai.com, Amazon.com and so on, is producing heavy network traffic at every second. All these should base on cache technology.The applications could not meet the requirement of such a high load of work if there is not a suitable cache architect, so cannot the good user experience. A novel security mechanism for memcached is introduced in this paper. But at the first, the paper described the cache technology and distributed cache technology and the research status of the technologies currently, the algorithms related with cache technology and the popular cache products. And then the product named memcached is referred. The mechanisms in this product are analyzed and researched, including the mainly data structure, storage and memory allocation strategy, multi-threaded mechanism and the command process flow. And next the drawback on security respect in the command line protocol of memcached is proposed. For dealing with this issue, memcached-authz, a security enhanced component for command line protocol of memcached, is proposed. This component is used to authorize and authenticate the cache clients when using the command line protocol of memcached. The design and implementation of memcached-authz is based on memcached. Symmetric encryption and hash digest algorithms are used in authorization process by balancing between securities and computing performance. There are several main parts in this paper. These parts described the process of designing, implementation and experiments which proof memcached-authz component could work as a proxy with memcached smoothly and provide security features for memcached servers.

Table of contents

The Chinese summary 3-4 English summary 4-9 1 Introduction 9-13 1.1 project research background 9-10 1.2 research status the 10-11 the 1.3 research content target 11-12 1.4 The paper is organized 1.5 Chapter Summary 12-13 2 cache theoretical foundation 13-29 2.1 cache technology basic principle 13-14 2.2 cache classification 14-17 2.1.1 server-side caching 14 2.1.2 client cache 14-15 2.1.3 proxy server ( cluster) cache 15-17 2.2 cache replacement algorithm 17-19 2.2.1 FIFO strategy (First In First Out) 17 <br / 2.2.2 Recently, the least used strategy (Least Recently Used) 17-18 2.2.3 least used frequency strategy (Least Frequently Used) 18 2.2.4 SIZE algorithms. 18 2.2.5 GD-Size (Greedy Dual-Size) algorithm the 18-19 2.2.6 LFUDA, (LFU with Dynamic Aging) algorithm 19 < br /> 2.2.7 cache synchronization strategy the 2.3 cache Products nbsp 19 ; 19-22 2.3.1 the Memcached (memcachedb xmemcached) 19-20 2.3.2 JbossCache 20-21 2.3.3 OSCache 21 2.3.4 Cache4j 21 2.3.5 JCS 21-22 2.4 Distributed cache 22-28 2.4.1 topology 22-24 2.4.2 distributed cache protocol 24-25 2.4.3 load balancing technology 25 2.4.4 data distribution model 25-27 the 2.4.5 data synchronization strategy 27 -28 2.5 Chapter Summary 28-29 3 Memcached-authz's, Design and Implementation 29-55 3.1 Memcached caching framework of analysis 29 - 36 3.1.1 internal mechanism 29-30 3.1.2 basic data structure 30-31 3.1.3 process flow 31-32 3.1.4 storage mechanism 32-34 3.1.5 event handling mechanism 34 3.1.6 binary protocol analysis 34-35 3.1.7 command protocol the 35-36 3.2 Feasibility Analysis 36-38 3.3 architecture design 38-39 3.4 Summary of design 39-41 3.5 Detailed design 41-51 the 3.5.1 process design 41-43 3.5.2 The main data structure 43-44 3.5.3 multi-threaded asynchronous design 44-45 3.5.4 The main function of design 45-49 3.5.5 security cache instruction set 49-51 3.6 deployment and achieve 51-53 3.6.1 installed and configured memcached server 52-53 3.6.2 installed configure the memcached-authz proxy server 53 3.7 Chapter Summary 53-55 experiments and test results 55-60 4.1 experiments and results 55-59 4.1.1 authz command experiment 55-56 4.1.2 sset commands experiments nbsp are; 56 4.1.3 sget command experiment the 56-57 4.1.4 sdelete command. experimental 57-59 4.2 Chapter Summary 59-60 5 Summary and Outlook 60 - 62 5.1 Summary the 60-61 5.2 Looking 61-62 Acknowledgements to References 62-63 63 -66 Appendix 66

Related dissertations

  1. Development Strategy of City Commercial Bank under the Background of Internet Finance
    WangZuo ·Anhui University ·2013 ·Master's thesis
  2. The Analysis of Traditional Retailer Transformation in Internet Time
  3. Ortunities and Challenges Facing Foreigners in Online Shoping in China:a Case of Foreign Students Shopping in Taobao
  4. Research of Strategies for New Challenge of Internet Development for China Mobile
    ChenLong ·Hunan Normal University ·2014 ·Master's thesis
  5. Study on Competitive Strategy and Market Structure of Chinese Internet Platform Enterprise
    FuZuo ·Jinan University ·2013 ·Doctoral dissertation
  6. The Research of Brand Is Built on the Internet
    LiangShuang ·Dalian Polytechnic University ·2010 ·Master's thesis
  7. Research on Small and Medium-sized Enterprises’ Precise Marketing Based on Internet
  8. Research on Flow Marketing Srategy of Xingtai CMCC in3G Era
  9. Research on Clothing Product Development Mode Under the Network Environment
  10. The Research on Agriculture Informatization Construction in LuoYang
  11. Study on the Construction of Baicheng New District System of Smart City
    XuHuaNan ·Jilin University ·2013 ·Master's thesis
  12. Research on Internet Users’ Information Behavior of Image Retrieval
    CaoMei ·Nanjing University ·2010 ·Doctoral dissertation
  13. Network Marketing Research of Digital Publications
    ZhangHanJing ·Hebei University of Economics ·2014 ·Master's thesis
  14. Exploring the New Path of Science Communication in the Era of Internet by Taking ’Guokr.com’ for Example
    ZhaoMingYue ·Jinan University ·2013 ·Master's thesis
  15. The Construction of Post-Subculture Theory for Internet Study
  16. The Influence of Network Communication to Real Interpersonal Communication
    GuoZuo ·Northwest Normal University ·2013 ·Master's thesis
  17. A Study of Anti Spiral of Silence in Internet Communication
    LiuHanSen ·Central South University ·2013 ·Master's thesis
  18. The newspaper news source of Internet - based on the discussion and news ethics of media convergence
    LiShaoHua ·Shaanxi Normal University ·2013 ·Master's thesis
  19. Study of "KUSO" Classic Phenomenon on the Internet
    ZhangLiFen ·Jinan University ·2013 ·Master's thesis
  20. Research on Construction of Supply Chain Management Information System of Jilin Chemical Fiber Co. Ltd
    GuoFeng ·Jilin University ·2013 ·Master's thesis