The Design and Implementation of Distributed File System in Crowd Intelligence Sensation Environment

Author
ZhanHaiJing
Advisor
HuangMin , LiBoJi
School
South China University of Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2013
Downloads
26
Citations
0

Request the full text

Abstract

The development of sensor technology and the popularity of smart phones have madecrowd intelligence sensation become the central part of mobile computing. The data thatcrowd intelligence sensation produces is huge and various, this has put forward higherrequirements on storing system. The data size that traditional file system can store is limited,the throughput traditional file system can offer is also limited, thus traditional file system isnot suitable for crowd intelligence sensation. Most of the existing distributed file systems usecentralized metadata management strategy, this is not suitable for the huge metadata thatproduced by huge small files under crowd intelligence sensation environment. GFS andHDFS are dedicated to storing big files, TFS and Haystack are suitable for storing small files,but distributed file system under crowd intelligence sensation environment should supportstoring big files and small files effectively.The storing of huge data is the basis of crowd intelligence sensation. This articleresearches the principle of main distributed file systems, and emphatically researches how todistribute metadata over several metadata servers and the strategies of storing big files andsmall files. After doing these things, This article describes the design and implementation ofthe distributed file system HaipengFS which has distributed metadata servers and supportstoring big file and small file at the same time. The main research content of this articleincludes:1. Research the main distributed file systems GFS, HDFS, TFS, ceph, their systemarchitecture, implementation principles and limitations;2. Aim at the requirement of storing a huge number of file metadata, research the mainstrategy of distributing metadata over several metadata servers, then design the strategy ofdistributing metadata which is based on consistent hashing for HaipengFS in reference ofcurrent strategies.3. Aim at the requirement of storing big file and small file at the same time, design thestrategy of storing big file and small file at the same time for HaipengFS in reference ofcurrent strategies of storing big file and small file, big file use several data blocks to store data,several small files share a data block and use a index file to store the offset of the small indata block.4. To make the file system can adjust to changing workload, design a load balancealgorithm which is based on genetic algorithm for the metadata servers of HaipengFS, thenuse experiments to verify the algorithm; 5. Based on the above research points, design the distributed file system HaipengFS, thenuse C++programming language implement the prototype system under Linux operatingsystem and test the performance of file read write performance on aliyun.

Table of contents

Abstract 5-6 Abstract 6-10 first chapter 10-15 1.1 Background and Significance 10 1.2 domestic and foreign research status 10-13 1.3 This paper studies 13 1.4 This article organizational structure 13-15 Chapter II related technology research 15-23 2.1 typical distributed file system 15-20 2.1.1 distributed File System for large files 15-17 2.1.2 for small files distributed file system 17-20 2.2 metadata distribution strategy 20-22 2.2.1 static sub-tree 20 2.2.2 static hash 20 2.2.3 dynamic sub-tree 20-21 2.2.4 other solutions 21- 22 2.3 Chapter Summary research file access method 22-23 Chi Chapter III group perceived environment 23-38 3.1 Chi -aware environment group file characteristics analysis under design nbsp file metadata access method 23 3.2 swarm intelligent sensing environments ; file size 23-26 3.3 Chi -aware environment group mixed deposit scheme designed store strategy nbsp 26-31 3.3.1 large files ; 26-27 strategy nbsp 3.3.2 store small files ; 27-30 3.3.3 size File coexist strategy 30-31 3.4 file reading and writing performance test 31-37 nbsp 3.4.1 experimental environment ; 31 3.4.2 large file read and write performance test 31-33 3.4.3 small file read and write performance test 33-36 3.4.4 read mixed size documents write performance test 36-37 3.4.5 small file transfer large file performance test 37 3.5 Summary 37-38 Chapter IV metadata server load balancing 38-48 4.1 analysis 38 4.2 load balancing algorithm 38-41 4.3 and algorithms optimized subset 41-44 4.3.1 problem Description 41 4.3.2 greedy method 41-42 4.3.3 dynamic Programming 42 4.3.4 genetic algorithms 42-44 4.4 experimental results and analysis 44-47 4.4.1 optimal subset and experimental 44-45 4.4.2 load balancing algorithm experiment 45-47 4.5 Chapter Summary 47-48 Chapter HAIPENGFS design and Implementation 48-59 5.0 HAIPENGFS system architecture achieve 48-49 5.1 RPC library achieve 49-51 5.2 metadata server 51 -53 achieve 5.3 blocks server achieve 53-55 5.4 server load balancing achieve 55-56 5.5 client 56- 58 5.6 chapter Summary 58-59 summary and Outlook 59-60 references 60-63 Thanks 63-64 Accessories 64

Related dissertations

  1. Design and Implementation of Distributed File System for Large Scale Storage for Modern Service Industry
    LiWu ·Zhejiang University ·2008 ·Master's thesis
  2. Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
  3. Dynamic Management of Data Replicas of Cloud Computing in Heterogeneous Environments
    ZhangNingNing ·Zhengzhou University ·2013 ·Master's thesis
  4. Design and Implementation of Metadata Storage Unit
  5. Research on Replica Management in Distributed File System
    JiangHao ·Zhejiang University ·2013 ·Master's thesis
  6. The Research and Implementation of Metadata-Manage Staregy Technology Based on the Object Storage System
  7. The Optimization and Implementation of Cloud Storage System Based on HDFS
    ChenHu ·South China University of Technology ·2012 ·Master's thesis
  8. Research of Tourism E-commerce Metadata Model of SaaS
    AnChengJun ·Shandong Normal University ·2013 ·Master's thesis
  9. Design and Realization of Daqing Oilfield Downhole Data Collection
  10. Design and Implementation of Distributed Hydrological Monitoring System
    ChenGuang ·Zhejiang University of Technology ·2013 ·Master's thesis
  11. The Design and Implementation of a NEW Generation of Digital Campus Network
  12. Perception-based Congestion Control Mechanism for Distributed File System
  13. Research and Design on Key Technologies of the Mobile Internet Service Resource Management
  14. MPLS Traffic Engineering Load Balance Algorithm Using Deviation Path
  15. Research and Implementation of the High-performance HTTP Reserves Proxy Server
    ChangZhi ·Harbin Engineering University ·2013 ·Master's thesis
  16. Based on the JBoss AS7Study of Enterprise Distributed Deployment Platform
    WangWeiWei ·Xiangtan University ·2013 ·Master's thesis
  17. A Study of Handover Technology Based on the Proxy Mobile IPv6
    SongBaiSen ·Northeastern University ·2011 ·Master's thesis
  18. Research and Implementation of DNS64Key Technology in the IPv4/IPv6Transition
    ShaoShuai ·Harbin Engineering University ·2013 ·Master's thesis
  19. Research on the Decision Tree-like Hierarchical Grid Resource Organization Model and Scheduling Algorithms
    WenLiJuan ·Yanshan University ·2013 ·Master's thesis
  20. Describe on Metadata of the Value of Archival Web Information
    XiangLiHua ·Xiangtan University ·2013 ·Master's thesis