Design and Implementation of Q~+Massive User Data Storage System

Author
WangXiaoHui
Advisor
ZhangWeiZhe , LiangKeJie
School
Harbin Institute of Technology
Major
Software Engineering
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2013
Downloads
6
Citations
0

Request the full text

Abstract

With the rise of the internet web2.0sites, traditional relational databases in thedata storage area exposes a lot of problems difficult to overcome, especially forlarge-scale concurrent reading and writing of the SNS type of site, in the aspects ofhigh-performance, massive user data, high scalability and High availability,traditional relational database is very inadequate, in order to solve these problems,NoSQL,non-relational databases, emerged.Compared with relational database, NoSQL has no fixed table structure, and noconnection operation. So NoSQL has the very good performance on big data access,and can adapt to today’s application architecture in the need of data storage onhorizontal scalability, is now the preferred solution of mass data storage.The topics comes from the actual needs of Tencent Technology (Shenzhen) Co.,Ltd. Its purpose is carrying QQ Q~+user data storage work, to make Q~+platform ableto cope with needs of the rapid growth of mass user data storage and massconcurrent read and write access, to ensure that the data is reliable and the serviceis stable.This article is not based on the existing key-value products, but in combinationwith Q~+platform features to design a unique storage solution for Q~+platform.Using the whole amount of user data cache design, which use of multistagehashtable technology to quickly locate the user data, use of static list technology toachieve variable length of storage, so user data can be flexibly extended。Usinghierarchical index design, All the QQ number will be allocated to differentprocesses on different machines by Unit, read and write access will be routedaccording Unit configuration。Using multi-room remote deployment, which canaccess nearly and decentralize system pressure, and also can prevent a greaterdisaster brings to the system of irreversible damage. Read and write access wasoriented to four categories of use data providing a more fine-grained interfaces toreduce network traffic. Data backup use of regularly Dumping cached data to a fileand recording real time water log, when the cache data is lost, can retore data byloading file and redo water log.After the system was on-line,greatly improved the large-scale concurrent reading and writing ability to user data of Q~+platform, met the needs of rapidgrowth of massive user data storage and providing flexib le data field extension forconstantly launch new business.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction purpose and meaning 9-19 1.1 Background and research topics 9-10 1.2 with the subject -related research at home and abroad 10-17 1.2.1 NoSQL non-relational database 10-11 1.2. 2 CAP theory in this issue 11-12 1.2.3 Dynamo storage platforms 12-13 1.2.4 Tair storage system 13-15 1.2.5 MemcacheDB storage system 15-16 1.2.6 Redis database 16 1.2.7 TC / TT storage engine 16-17 content and structure 1.3 research papers of main content 17-19 1.3.1 of this research 17-18 1.3.2 the structure of the paper 18-19 Chapter 2 system Requirements analysis and overall design 19-24 2.1 Requirements Analysis 19-20 2.2 overall design 20-23 2.2.1 system hardware structure 20-21 2.2.2 system module structure 21-22 2.2.3 system process role relationship 22-23 2.3 Summary 23-24 detailed in Chapter 3 system design and Implementation 24-57 3.1 cache module 24-37 3.1.1 data Structure Design 24-27 3.1.2 multi-level hash table 27-32 3.1.3 memory Management 32-35 3.1.4 user data cache read 35-37 3.2 index module 37-43 3.2.1 layered index design 38-39 3.2.2 configuration information shared memory 39-41 3.2.3 system addressing 41-43 3.3 server module 43-49 3.3.1 asynchronous server model 44-45 3.3.2 reading server 45-46 3.3.3 write server 46-48 3.3.4 multi- room remote deployment 48-49 3.4 persistent Stored Modules 49-56 3.4.1 Dump buffer to a file 49-52 3.4.2 Load file into the cache 52-54 3.4.3 water logging 54-55 3.4.4 redo water 55-56 3.5 Summary 56-57 Chapter 4 System test 57-68 4.1 system functional test 57-63 4.1.1 read and write access to the test 57-61 4.1.2 data recovery and backup test 61-63 4.2 reliability Test reading to access the next 63-64 4.2.1 abnormality test 63-64 4.2.2 anomalies write access test 64 4.3 performance Testing 64-67 4.3.1 describes the test methods and environmental 64-65 4.3.2 read access performance pressure measurement 65-66 4.3 .3 write access performance pressure measurement 66-67 4.4 Summary 67-68 conclusion 68-69 References 69-73 Thanks 73-74 CVs 74

Related dissertations

  1. Non negative pressure water pump monitoring system design and implementation of SCADA software
  2. Research on the NoSQL Data Recovery Technology
  3. Design and implementation of SNS platform based on MongoDB
  4. The Research of Remote File Synchronization Model in Cloud Storage Environment
    WangJuZuo ·Shanghai University ·2013 ·Master's thesis
  5. The Research on the Method of Heterogeneous Big Data Storage
    DanXu ·Beijing Jiaotong University ·2014 ·Master's thesis
  6. Research on Data Organization Model under Multi-grid Framework
    YouWenChen ·Shandong Normal University ·2014 ·Master's thesis
  7. The Design and Implementation of Common Logic Layer’s REST API for Virtual Community
    ShenFei ·Nanjing University ·2012 ·Master's thesis
  8. Research and Application on B2C of electronic commerce in RE CF algorithm based on user behavior
    ZhangShengTao ·Nanhua University ·2012 ·Master's thesis
  9. Technology of Data Transfer and Storage
  10. Design and Implementation of MongoDB Data Balance System Based on Chord
    LiDongSheng ·Chongqing University ·2013 ·Master's thesis
  11. SCool campus micro-blog public opinion monitoring system data management research
    LiZuo ·Nanhua University ·2013 ·Master's thesis
  12. Query Processing and Optimization of Join Operation on Key-Value Database
    WangXiTe ·Northeastern University ·2011 ·Master's thesis
  13. A Study of NOSQL-oriented Performance Analysis System
    WangZuoFeng ·Fudan University ·2012 ·Master's thesis
  14. Design and Implementation of E-form System Based on Relational Database and Non-relational Database
    ZhangGuoRong ·Sun Yat-sen University ·2012 ·Master's thesis
  15. Research on NoSQL Database Technology and Application
  16. Research and Application of Cloud Data Management Technology Based on MongoDB
    LiuYiMeng ·Beijing Jiaotong University ·2012 ·Master's thesis
  17. Design and Implementation of Pump Enterprise System Based on REST+NOSQL
    WangZhiJiong ·Shanghai Jiaotong University ·2012 ·Master's thesis
  18. Large Scale Cloud Computing Cluster Monitoring System: Design and Implementation
    YangCong ·Northeast Normal University ·2012 ·Master's thesis
  19. The Research and Implementation of One-Time Password Authentication System’s Efficient Solution under Variety Environments
  20. The Research of Big Data Storage Technology in Cloud Computing