The Design and Implementation of Xunlei Offline-download Distributed File System
- Author
- LvLei
- Advisor
- MaPeiJun
- School
- Harbin Institute of Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 179
- Citations
- 0
Abstract
With the widespread use of computer network in social living, distributed application becomes a mainstream gradually. Because of its inherent shortcomings,such as single fault point and low Scalability, traditional centralized server system more and more limits the development of network service to multi-aspect. In order to meeting the need of distributed server system,which has high performance, high extensibility, high reliability and high usability, people also turn to use distributed server system slowly.A distributed file system named Xunlei Offline-download Distributed File System (XLFS) was developed based on Linux kernel. XLFS is a scalable distributed file system for large distributed data-intensive applications. It provides fault tolerance while running on inexpensive commodity hardware, and it delivers high aggregate performance to a large number of clients.This thesis firstly designed the whole framework of distributed file system, and used a design sheme different from old ones for file system aiming at the specific requirements of Xunlei offline-download project. First, the scheme of single master server and several chunk servers has satisfied scalability for file system while simplified the designation. Second, in allusion to the characteristic of offline-download data that much appending and little amending, the file system specially provides atomic appending operation. Third,servers interact with each others in the form of lease, which could keep the consistency of data at the level of chunk, not byte. At last, different from most of old file systems, XLFS provides fault tolerance for data in engineering by verify code.The research achievements are mainly in the following aspects: First of all, mastered relevant technologies of distributed file system, and simulately achieved the mechanisms such as atomic appending, rubbish callback and lease. Then designed and completed a distributed file system, including the master server, chunk servers and client interface. Last, aiming at the problem of application procedure call, achieved the FsShell intetrface of xunlei offline-download distributed file system similarly to linux operation system API. the FsShell interface was tested in this file system, and the system ran well in the testing environment.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter 1 Introduction 9-15
the topic 1.1 Background and research purposes 9
1.2 related to the topic at Home and Abroad 9-13
1.2.1 NFS 10
1.2.2 AFS 10-11
1.2.3 Coda 11
1.2.4 xFS 11
1.2.5 Lustre 11-12
1.2.6 GPFS 12
1.2.7 Distributed File System 12-13
1.2.8 Google file system 13
1.3 of this thesis work content 13-15
the
demand analysis of Chapter 2 Distributed File System 15-20
2.1 offline download Project Profile 15-16
2.2 file system needs 16-19
2.2.1 Functional Requirements 16-17
2.2.2 Non-functional requirements 17-19
Scope 2.3 file system 19
2.4 This chapter Summary 19-20
Chapter 3 Distributed File System Design 20-37
3.1 File System Design Summary 20-23
3.1.1 file system overall architecture 20-21
3.1.2 single master server design 21
3.1.3 $ data design 21-23
3.2 server interaction design 23-31
3.2.1 leases and change 23-25
3.2.2 data flow design 25-26
3.2.3 atomic record append 26-27
3.2.4 Basic operation designed 27-31
3.3 master server design 31-34
3.3.1 namespace management and lock 31-32
3.3.2 garbage collection 32-33
3.3.3 master server class design 33-34
3.4 Server design 34-36
3.4.1 block size select 34
3.4.2 integrity assurance checksum 34-35
the
the 3.4.3 blocks server class design 35-36
3.5 This chapter Summary 36-37
Chapter 4 Distributed File System to achieve 37-51
4.1 master server to achieve 37-44
4.1.1 master server function analysis 37
4.1.2 master server to achieve 37-44
4.2 Server to achieve 44-47
4.2.1 block server function analysis 44
the
block server 4.2.2 Basic operation to achieve 44-47
4.3 client interface to achieve 47-50
4.3.1 file system interface 47-49
4.3.2 file interface 49-50
4.3.3 multi-thread-safe interface 50
4.4 This chapter Summary 50-51
Chapter 5 Distributed File System Test and Evaluation 51-61
5.1 software testing theory 51-52
5.1.1 common test process 51
5.1.2 Test Method 51-52
5.2 Functional Test 52-57
5.2.1 testing program 52-53
5.2.2 Test Results 53-57
5.3 performance test 57-59
5.3.1 testing program 57-58
5.3.2 test results and analysis 58-59
5.4 pressure test 59-60
5.5 This chapter Summary 60-61
concluded 61-62
the
References 62-66
Acknowledgements 66-67
the
biographical 67
Related dissertations
- Perception-based Congestion Control Mechanism for Distributed File System
- Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
- Research on Adaptive Load Scheduling in Distributed File System
- Journal Design and Implementation of Cappella Distributed File System
- Research on Key Technologies for the Client of Distributed File System
- Design and Implementation of a Video Sharing Platform Based on Cloud Storage
- The Design and Implementation of Distributed File System in Crowd Intelligence Sensation Environment
- The Design and Implementation of Mechanism for Data Availability Management in Hybrid Backup System
- Design and Implementation of Distributed File System for Proxy Services
- Storage Efficiency in Distributed File System
- Analysis and Optimization of Data I/O Pass in the Distributed File System
- Research and Implementation of a Strategy to Optimize the Storage of Small Files on HDFS
- Research on Agricultural Data Cloud Storage Based Oil Distributed File System
- Research on Data Duplication Selection Strategy in Cloud Environment
- The Research on Optimization Technology of Data Access in Video Surveillance System
- Study and comparison of the French commercial lease the premises
- The Comparative Study of Aircraft Financing Lease at Home and Abroad
- International Lease Accounting Standards Reform and its Influence
- Research on the the Reform of Leasing Accounting Standards
- Research and Implementation of Key Technology for Data Processing and Analysis of Archaeological Excavations