Automated Test Framework and Essential Technology Research for Distributed Data Cache System

Author
YaoHaoWei
Advisor
CaiLiang
School
Zhejiang University
Major
Computer Software and Theory
Classification
TP333 Memory
Degree
Master's thesis
Year
2011
Downloads
92
Citations
0

Request the full text

Abstract

With the rapid development of the network and related technology and the continuous expanding of its applications, distributed data cache system has become a major data deployment solution for a lot Internet applications. For instance, Memcached and its enhanced version have been made substantial progress in data throughput, data backup and data persistence, and were deployed and used in many websites including Facebook, Twitter, YouTube and Ebay. Distributed data cache system has brought advantages in functionality and performance for network applications, but new and higher requirements have also been proposed on the software quality assurance.As the main mean of software quality assurance, software testing for data cache system has never been more important. In order to meet the special test need and purpose of distributed data cache system, a lot aspects including automated testing framework, functional testing, load generation and data consistency validation, must be considered to design and implement a test model for distributed data cache system. Based on this idea, this article proposed an automated test solution including test framework, test tools and test methods for distributed data cache system.In order to solve the work load generating and data consistency validation when testing a distributed data cache system, the article has proposed fast random string generating algorithm and concurrent data read/write validation algorithm, with proof and performance statistics. The existence of the two algorithms has made a dramatic advance and enhancement for the performance and functionality of automated test tool for distributed data cache.At first, the article introduces the research status and implements solution of the current automated test technology, and then introduces relevant content of distributed data cache system. After that, it proposed an automated test solution with implement details based on the functionality and performance features of distributed data cache system, including test framework, test tools, fast random string generating algorithm and concurrent data read/write validation algorithm. Finally, this article summarizes the existing problem in the current solution and its implementation and proposes directions for further improvements.

Table of contents

Summary 3-4 Abstract 4-9 Chapter 1 Introduction 9-12 1.1 Background 9-10 < br /> 1.2 thesis work the papers 10-11 1.3 organizational structures 11-12 Chapter 2 distributed data caching system 12-17 2.1 the open source version of Memcached the 12-15 2.1.1 Memcached architecture the 13-14 2.1.2 Memcached security features 14 2.1. 3 Memcached communication protocol 14-15 2.2 Memcached enhanced version the 15-16 the 2.2.1 data container 15 2.2.2 data backup 15-16 2.2.3 data replication 16 2.2.4 data persistence 16 2.3 Chapter Summary 16 - 17 Chapter 3 automated testing framework 17-31 3.1 test management 17-19 3.1.1 of TestLink 17-18 <br / > 3.1.2 TestLink interface and integration testing framework the 18-19 3.2 tests The control 19-20 3.2.1 Hudson 20 <br / > 3.3 test drive 20-28 3.3.1 Design and implement standard 21-22 3.3.2 code and file structure 22-25 <br / > 3.3.3 test environment configuration and deployment 25-26 3.3.4 test initialization and cleanup 26 3.3.5 testing program run and control 26-28 3.4 framework integration 28-29 3.4.1, Hudson calls test drive 29 3.4.2 test-driven return test results 29 3.5 distributed data caching system support 29-30 3.5.1 Distributed data storage the test control function library 29-30 <br / > 3.5.2 testing framework called distributed data cache testing tools 30 3.6 Chapter Summary 30-31 Chapter 4 automated test client 31 - 38 4.1 design goals 31 4.2 structure and 31-35 4.2.1 communication layers 32-33 4.2. 2 engine layer 33-35 4.2.3 driver layer are found; the 4.3 load generator 35 35-37 4.3.1 scene simulation 36 4.3.2 throughput 36-37 4.4 data consistency check 37 4.5 Chapter Summary 37-38 <br / Chapter 5 quick random string generation algorithm the 38-46 5.1 algorithm design goals the 5.2 algorithm design 38-39 39-41 5.3 algorithm described the 41-43 5.4 algorithm analysis 43 5.5 performance test 43-45 5.6 Chapter Summary 45-46 Chapter 6 concurrent read and write data checksum algorithm the 46-52 6.1 algorithm works scene the 46-47 6.2 algorithm description 47-49 6.3 algorithm proved the 49-51 6.4 algorithm optimization 51 6.5 algorithm analysis 51 6.6 Chapter Summary 51 -52 Chapter 7 summarizes the 52-54 7.1 paper summarizes 52 7.2 Future Prospects 52-54 References 54-56 Acknowledgements 56-57 Appendix 57

Related dissertations

  1. Research and Realization of Automated Testing Platform Based on STAF/STAX
    JiangXiuLi ·Dalian Maritime University ·2012 ·Master's thesis
  2. The Research on Distributed Virtual Geographical Information System
    ChenJing ·Wuhan University ·2004 ·Doctoral dissertation
  3. Study on the Distributed Optical Fiber Acoustic Emission Sensor
    QuDanDan ·Harbin Engineering University ·2013 ·Master's thesis
  4. Research and Implementation of Relevant Technology in Colleges and Universities Teaching Administration System
    LiQingSheng ·Yanshan University ·2012 ·Master's thesis
  5. Complex Network Environment of Distributed Network Management and Software Implementation
  6. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  7. Research and Design of Distributed Vertical Search Engine Based on Hadoop
    JieYaoWei ·Hebei University of Technology ·2012 ·Master's thesis
  8. The Research of Distributed Topic Detection Method
    XiaoJuan ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Design and Implemention of High Performance Text Clustering Algorithm Basic on Hadoop
    LinJiPo ·Northwest Normal University ·2013 ·Master's thesis
  10. The Development and Realization of Scenario Thesaurus Based on Machine Learning
    DiZuo ·South China University of Technology ·2013 ·Master's thesis
  11. Research on text clustering algorithm based on Cloud Computing
  12. Parallel distributed processing and application in rendering based on
  13. Design and Implementation of Distributed MySQL Database Cluster Online Monitoring System
    HuangXu ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Technology Research of the Distributed Networked Digital Equipment Datewarehouse
    PanLiang ·Harbin Engineering University ·2013 ·Master's thesis
  15. Skyline Queries for Moving Objects under Distributed Environment
    FanMingSuo ·Ningbo University ·2013 ·Master's thesis
  16. Research on Distributed Mining of Association Rules Algorithm Based on MapReduce
    FanYanYan ·Harbin Engineering University ·2013 ·Master's thesis
  17. Research on Top-k Queries Optimizing Algorithm on Uncertain Dataset
    YuYang ·Northeastern University ·2013 ·Master's thesis
  18. Application Research of Distributed Query and Optimization Method Based on Metadata
    ZengYanMei ·Donghua University ·2014 ·Master's thesis
  19. The Design and Implementation of Distributed File System Based on Linux
  20. Design and Implementation of Visual Search-based Advertising Information Augmentation System
    LiuXiaoHui ·Sun Yat-sen University ·2013 ·Master's thesis