Design and Implementation of a distributed file sharing system based on P2P

Author
XiangFeng
Advisor
XuJie
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP393.02 Computer network architecture and design
Degree
Master's thesis
Year
2010
Downloads
114
Citations
1

Request the full text

Abstract

With the rapid increase of the Internet nodes in computing power, disk space and network bandwidth, Internet applications for file resources sharing has been developing rapidly. Richer file resources, higher reliability, more efficient data transmission, better load balancing and lower cost have become the new goals to pursue for file sharing users. P2P system, by sharing some resources of nodes, such as processors, disk space, network bandwidth, etc, allows users to directly use other nodes’shared resources without the need to obtain form particular servers. Peer nodes in P2P network are not only owners of resources, but also resources requesters. P2P technology has been used widely in file sharing, distributed computing, collaborative work, real-time communication, search engines, etc.In this thesis, a distributed file sharing system based on P2P is presented, by analyzing and summarizing the development of file sharing system, and P2P technology. System nodes compose an overlay network through P2P technology, and nodes take advantage of these resources, to build a large-scale, low-cost, high scalability, high reliability, high-performance distributed file sharing system. The system uses the centralized topology, in order to efficiently implement the system load balancing and file upload, download, query, and system management. At the same time, the fully distributed unstructured topology is a backup architecture to use. If the index server fails, the system will automatically convert to the fully distributed unstructured topology. This greatly enhanced the reliability of the system.In order to improve the operating efficiency of the index server, the system uses the memory-mapped file technology to improve the efficiency of read and write of files, and use the socket I/O completion port model to improve the sockets I/O efficiency. Through load balancing, the system can take full advantage of disk space, computing and bandwidth resources of each node in the P2P overlay network, thereby enhancing the system scalability and disk space utilization. By using dynamic copy, the number and location of files can be changed according to system requirements. Many of the specific implementation strategy in this system can achieve the freedom to configure. If a file is deleted from a node, users can select the appropriate file-out algorithm according to the actual circumstances and needs. For file download and backup, users can select one or more of the node selection algorithm the system provides, and change the priority between them. The system’s capabilities of log and filtering can enhance the system security and allow the system to be in a better management and control.

Table of contents

Abstract 4-5 ABSTRACT 5-9 Chapter Introduction 9-13 1.1 Background 9 1.2 Research 9-11 1.3 In this paper, the content 11-12 1.4 paper is organized as 12-13 second chapter technical presentations 13-31 2.1 P2P technology 13-19 2.1.1 P2P network topology 13-16 2.1.2 P2P network characteristics 16-18 2.1.3 P2P application types 18-19 2.2 socket I / O model 19-24 2.2.1 socket mode 19-20 2.2.2 sets according to the word I / O model 20-23 2.2.3 I / O model selection 23-24 2.3 files eliminated algorithm 24-26 240 multi-threaded download technology 26-27 2.5 memory-mapped files 27-30 2.6 Summary 30-31 the third chapter of overall system design 31-41 3.1 system design goals 31 3.2 system functional design 31-32 3.3 system architecture design 32-37 3.3.1 system topology 32-35 3.3.2 system module structure 35-37 3.4 system network model 37-40 3.5 Summary 40-41 detailed implementation 41-70 4.1 load balancing 41-42 4.2 data redundancy 42-45 4.2.1 the number of backups 44 4.2.2 backup strategy 44-45 4.2.3 backup dynamic adjustment 45 4.3 system log 45-47 4.4 system filter 47-48 4.5 node selection 48-54 4.5.1 backup node selection 49-51 4.5.2 download node selection 51-52 4.5.3 node selection module 52-54 4.6 file operations 54-59 4.6.1 file identification 54-55 4.6.2 file upload 55 4.6.3 file search 55-56 4.6.4 File Download 56-57 4.6.5 file delete 57 4.6.6 file and node index file access 57-59 4.7 system messages 59-63 4.7.1 Message Format 60-61 4.7.2 Message Block 61-63 4.8 system structure conversion 63 4.9 system testing 63-68 4.9.1 index server test 63-66 4.9.2 node test 66-68 4.10 Performance Analysis 68-69 4.11 Summary 69-70 Chapter V Conclusion 70-73 5.1 summarize 70-71 5.2 Looking 71-73 thank 73-74 References 74-77

Related dissertations

  1. Research on Kev Technologies of Content Distribution in P2P Network
    ZhangJianWei ·Zhejiang University ·2013 ·Doctoral dissertation
  2. Zhong Shan City Bureau of Public Security of Network Information Retrieval and File Sharing System Design and Implementation
  3. The Design and Implementation of Campus Network Resource Sharing and Interaction System Based on JXTA
    LiuJiang ·Tianjin University ·2012 ·Master's thesis
  4. Load Control of Seed Node and Protection of Resources for P2P File Sharing System
  5. The Design and Implementation of File Sharing System Based on Peer-to-Peer Network
    ZhaoLiMing ·Shandong University ·2012 ·Master's thesis
  6. Research on Routing and other Key Technologies in Peer-to-Peer Networks
  7. Microfinance Wholesale Mechanism Research and Construction Analysis
  8. The Investigation Report of P2P Lending
  9. Risk Management of P2P Network Financing Mode
    WangSheng ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  10. The Construction of P2P Networks Lending Risk Management System in China
    LuoYang ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  11. Research on Knowledge Sharing Model of Semantic Community Based on P2P Networks
  12. The Application of P2P Traffic Identify and Monitoring Technology In the Network Operation
  13. Design and Implementation of P2P-VoD System Based on BitTorrent
    ZhuangYingJie ·Northeastern University ·2011 ·Master's thesis
  14. Study on Community-Based Information Retrieval System in Peer-to-Peer Networks
  15. Research on Game Server Architecture Based on Kademlia
    ZhongZuoLong ·Donghua University ·2013 ·Master's thesis
  16. The Research on WAN Distributed Storage Technologies Based on P2P Architecture
    YangLei ·Hunan University ·2013 ·Doctoral dissertation
  17. Research and Improvement of Distributed Lookup Protocol Based on Chord
    LiaoXiaoNa ·Tianjin University ·2012 ·Master's thesis
  18. File Sharing and Instant Communication System Based on HP2P Protocol
  19. Research and Implementatioil of Mobile Streaming Media Platform Based on Cloud Computing
    ChangLong ·Northeastern University ·2013 ·Master's thesis
  20. Research on the improvement of Chord algorithm in P2P network
    CaoLei ·Shaanxi Normal University ·2013 ·Master's thesis