PPDSS storage system design and implementation
- Author
- HeXi
- Advisor
- LuXianLiang
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 66
- Citations
- 4
Abstract
With the rapid growth of the Internet, various forms of new applications have emerged in an endless stream. Especially the Web 2.0, representative of the new generation Internet applications, has brought great challenges to traditional data storage. In the past, Internet services were mostly based on Client/Server model, with the resources being stored in the centralized servers. With the sharp growth of the contents of storage, it’s not possible to meet the massive Internet users’access requirements only by servers.Incorporating the contemporarily popular Peer-to-Peer (P2P) technique, based on dedicated storage servers and Internet users oriented massive data storage service has been developed. A few storage servers which are deployed in WAN, making up the reliable structured overlay networks, provide the Internet users with guaranteed resources locating service. The storage servers are responsible for piece replica’s storage and distribution, and the redundancy provided by a few replicas which improve the system’s availability, avoiding single point failure. By introducing the self-adaptive replica redundancy management algorithm, we can adjust the replicas’ quantity intelligently and lead replicas migrate to the storage servers nearby the user, facilitating future mobile services. The P2P overlay networks which is composed by the user downloading the same content, providing upload bandwidth to other users, has relieved the servers’ pressure. Even though massive users request the content, the system still can cope, with the guarantee of good scalability.For the storage server’s high performance and high availability, network i/o is handled by non-block socket asynchronously, which is called Reactor framework based on Linux epoll mechanism. There are many timers, so efficient timer management is implemented in Reactor. Disk-io is processed by Linux aio, and efficient disk block cache management algorithm has been proposed. By udp socket programming, Chord locating algorithm has been implemented.This system is composed of Server (ChunkServer) and Client (PPDSS Client). ChunkServers are run on Linux platform, written in C++ language, and designed by OOP. If we can take exceptions in real networks into account, this system can be deployed in Internet as fundamental storage platform to provide reliable storage service to massive Internet users.To alleviate the storage servers’ pressure and improve the system’s throughput, piece amplification based direct neighboring nodes selection algorithm has been designed and implemented. By selecting the peers with good piece amplification, guiding them to connect storage servers directly, downloading pieces from storage server and quickly distributing the pieces by themselves, the download experience has been improved remarkable, especially during the time when the contents are just published. According to our modeling analysis and experiment verification, this algorithm has improved the content’s distribution effectively and enhanced the system’s throughput.
Table of contents
Abstract 4-5
ABSTRACT 5-10
Chapter Introduction 10-14
1.1 Background 10-12
1.2 of this paper work and innovation 12-13
1.3 The paper is organized 13-14
the second chapter of distributed storage principle 14-26
2.1 Distributed Storage Technology Overview 14-17
2.1.1 Distributed File System 14-17
2.2 Peer-to-Peer file storage sharing technology 17-25
About
2.2.1 P2P 17-18
2.2.2 P2P network storage technology 18-19
2.2.3 P2P network storage technology and C / S mode of comparison 19-20
2.2.4 P2P routing algorithm 20-23
2.2.5 Typical P2P storage systems introduced 23-25
2.3 Summary 25-26
third-chapter PPDSS system analysis and design 26-49
3.1 PPDSS design goals 26-27
3.2 P2P storage system design problem space 27-30
3.2.1 data redundancy scheme: copy of erasure codes 27-28
3.2.2 Data Distribution program: DHT distributed directly with directory-based distribution 28-29
3.2.3 error detection program: regular heartbeat and failure broadcasting 29-30
3.2.4 redundant data maintenance 30
choice of 3.3 PPDSS system platform 30-31
3.4 PPDSS communication design space 31-35
3.4.1 connectionless protocol and connection-oriented protocol 31-32
3.4.2 Application layer protocol transmission format designed 32-34
3.4.3 Synchronous and asynchronous message exchange 34-35
3.5 I / O model selection 35-41
3.5.2 Network I / O model 35-38
3.5.3 Disk I / O model 38-41
3.6 PPDSS overall architecture 41-48
3.6.1 ChunkServer module divided 44-48
3.7 Summary 48-49
Chapter PPDSS system to achieve 49-79
4.1 Reactor framework for the realization of 49-53
4.2 P2P underlying storage module 53-67
4.2.1 Linux the AIO principle 53-55
4.2.2 CS disk buffer management of the overall framework 55-67
4.2.3 disk buffer management process 67
4.3 of the Chord algorithm to achieve 67-77
4.3.1 Chord Algorithm Principle 69-71
the overall framework of the
4.3.2 the Chord algorithm 71-77
4.3.3 the Chord algorithm in detail the process 77
4.4 Summary 77-79
Chapter PA-DNNS algorithm design and analysis 79-92
5.1 neighbor selection algorithm introduced 79-81
5.1.1 BitTorrent System Peer selection algorithm 79-80
5.1.2 RASSA algorithm principle 80-81
5.2 PA-DNNS algorithm principle 81-84
5.3 PA-DNNS algorithm to achieve 84-86
5.4 PA-DNNS algorithm analysis and experimental verification 86-91
5.4.1 Theoretical analysis 86-89
5.4.2 Experimental verification 89-91
5.4.3 Experimental results 91
5.5 Summary 91-92
Chapter VI Summary and Outlook 92-94
6.1 summarize 92
6.2 Looking 92-94
thank 94-95
References 95-98
research results during the attack Master 98-99
Related dissertations
- 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
- The Application of P2P Traffic Identify and Monitoring Technology In the Network Operation
- 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
- The Research on WAN Distributed Storage Technologies Based on P2P Architecture
- 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
- Zhong Shan City Bureau of Public Security of Network Information Retrieval and File Sharing System Design and Implementation
- Research of FTP Search Engine Indexing Technology Based on Kademlia
- Design and Implementation of P2P Based on Full Text Retrieval System
- Design and Implementation of Teaching Resources Service System Based on.NET
- Design and Implementation of2P Cache Speedup System in IP Metropolitan Area Network