Distributed Structured Storage System Design and Implementation
- Author
- LiZhen
- Advisor
- LuXianLiang
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 99
- Citations
- 0
Abstract
The rapid development of Internet, an endless stream of new types of applications. This brings a great challenge to the traditional Client / Server-based data storage mode. Store content and access needs while the rapid growth, so that the resources in a single centralized storage node server has been unable to meet the demands made by the Internet users on the quality of service. How to provide high reliability and high-performance distributed storage service overlay network, which is the current hot topic of discussion. P2P (Peer-to-Peer) organization to bring higher scalability and availability for the application, this mode has gradually become an important organization of Internet applications. P2P distributed storage means to the storage nodes are organized into functional equivalence distributed storage network user access to the system is still using the Client / Server model. Currently distributed storage technology research, we have developed a proprietary storage and computing servers, distributed storage system for structured data. A structured overlay network storage server, the scalable computing server maintenance structured data, to provide users with reliable data storage services. The storage server is responsible for providing the key storage services, and data redundancy to ensure the reliability of data storage; compute server is responsible for the organization of key data, and perform the update and query operations. Using a multi-stage adaptive load balancing mechanism between computing servers, each the compute server load pressure through dynamic adjustments greatly improve the overall operating efficiency of the system. In order to guarantee high-performance and high stability of the system, the server module, network I / O using a non-blocking asynchronous processing mechanism. Module in the existence of a large number of timer, by an independent thread processing is complete, and the timing trigger mechanism provided by the Linux kernel. Storage server due to the presence of a large number of disk reads and writes, and disk I / O using the Linux aio. In order to provide efficient structured data storage and query service, the system uses a distributed B-tree storage algorithms to maintain data storage structure. Key data distributed storage mode storage node in the storage server; organized by the B-tree structure, maintained by the computing servers. Validated by comparing the test, the storage model can effectively reduce the access time delay, while greatly improving the stability of the access efficiency.
Table of contents
Summary 4-5
ABSTRACT 5-10
Chapter Introduction 10-14
1.1 Background 10-11 < br /> 1.2 This paper work 11-12
1.3 This paper is structured 12-13
1.4 Chapter Summary 13-14
Basis Research 14-24
2.1 distributed storage technology the 14-17 2.1.1 structured data storage
14-15
2.1 .2 unstructured data storage 15-16
2.1.3 semistructured data storage 16-17
2.2 distributed storage model 17 - 23
2.2.1 BigTable 18-20
2.2.2 Memcached 20-22
2.2.3 Dynamo 22-23
2.3 Chapter Summary 23-24
Chapter DS-Store System Overview and Analysis 24-39
3.1 general overview 24-27
3.1 .1 Master (Standby) the 24-26 the
the 3.1.2 data node DN 26
in 3.1.3 Lockserver (Standby) 26-27
3.1.4 Distributed key-value storage systems (DKVS) 27
3.1.5 client-side (Client) 27
3.2 functional requirements 27-30
3.2.1 main function 27-28
3.2.2 exception handling analysis 28-30
3.3 communication protocol and application layer message analysis 30 - 33
3.3.1 communication protocols select 30-31
the 3.3.2 application layer message analysis 31-33
3.4 I / O model 33-38
3.4.1 Network I / O model 34-36
3.4.2 disk the I / O model 36-38
3.5 Chapter Summary 38-39
Chapter the DS-STtore system design 39-73
4.1 system framework design 39-53
the 4.1.1 Master module design 39-42
4.1.2 Lockserver module design are found; 42-45
4.1.3 DN of the module design 45-49
4.1.4 DKVS module design 49-52
4.1.5 Client module design the 52-53 4.2 storage model design
53-57
the 4.2.1 user table storage mechanism 53-55
4.2.2 User table allocation mechanism 55-57
4.3 Distributed B-tree storage algorithm 57-66
4.3.1 the algorithm purpose of 57-58
4.3.2 algorithm principle 58-63
4.3.3 algorithm to achieve 63-64
4.3.4 experimental verification 64-66
4.4 The main function processes the 66-72
4.4.1 build table process 66-68
4.4.2 Add data flow 68-69
4.4.5 query data flow the 69-70
4.4.6 load balancing process the DN plan to switch in 70-71
4.4.7 process 71-72
4.5 Chapter Summary 72-73
Chapter DS-Store system to achieve 73-81
5.1 based Epoll events driven framework to achieve 73-74
5.2 DKVS subsystem, to achieve 74-76
5.2.1 Chord routing 74-76
5.3 Structured stored achieve 76-79
5.3.1 Master module to achieve the 76-78
5.3.2 DN module 78-79
5.4 Chapter Summary 79-81
Chapter VI system test 81-86
6.1 test environment 81-82
6.2 test content 82 - 85
6.2.1 fault tolerance test 82-84
6.2.2 load pressure test 84-85
6.3 summarizes 85-86
Chapter VII Conclusion and Prospects 86-88
Acknowledgements to References 88-89
89-92
Related dissertations
- The Research on WAN Distributed Storage Technologies Based on P2P Architecture
- Research and implementation of distributed storage of OLAP query based on P2P
- The Research on Distributed Storage Technology Based on Peer-to-Peer
- The Research on Large-Scale Distributed Storage Technology
- Microfinance Wholesale Mechanism Research and Construction Analysis
- The Investigation Report of P2P Lending
- Risk Management of P2P Network Financing Mode
- The Construction of P2P Networks Lending Risk Management System in China
- Research on Knowledge Sharing Model of Semantic Community Based on P2P Networks
- Design and Realization of Information Navigation System Based on the Campus Network
- The Application of P2P Traffic Identify and Monitoring Technology In the Network Operation
- Research and Design of Congestion Control Algorithm on DTN
- Design and Implementation of P2P-VoD System Based on BitTorrent
- Study on Community-Based Information Retrieval System in Peer-to-Peer Networks
- Research on Game Server Architecture Based on Kademlia
- Research and Improvement of Distributed Lookup Protocol Based on Chord
- Research on Kev Technologies of Content Distribution in P2P Network
- Research and Implementatioil of Mobile Streaming Media Platform Based on Cloud Computing
- Research on the improvement of Chord algorithm in P2P network
- Research of Data Resources Sharing Based on P2P