Font Size: a A A

Design And Implementation Of Distributed File Transfer System Based On ZooKeeper And Netty

Posted on:2022-04-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y Y HeFull Text:PDF
GTID:2518306551953879Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the continuous improvement of social informatization in our country,the Internet has penetrated into all walks of life.However,the traditional file transfer mode is increasingly difficult to meet the file transfer needs of modern enterprises due to its shortcomings such as low transmission efficiency,unable to guarantee file security,limited file transfer size and so on.On the other hand,the mainstream file transfer tools are difficult to play their due role in the face of enterprise intranet.How to transfer files efficiently in enterprise LAN has become an urgent problem for every enterprise.Based on this situation,this thesis designs and implements a distributed file transfer system based on ZooKeeper and Netty.This thesis implements the file transmission function based on netty,designs a message object to avoid the extra cost caused by data serialization / deserialization,which greatly improves the efficiency of file transmission.At the same time,this thesis designs two kinds of task information to record the details of file transmission,and uses the task information to control the file transmission,so as to realize the functions of breakpoint continuation,encrypted transmission,file integrity verification and so on.On the other hand,by saving the task information to the cache,this thesis also realizes the task recovery and automatic retransmission function.Secondly,based on zookeeper,this thesis designs a routing graph which can reflect the routing relationship between nodes in the system and automatically update the routing graph according to the up and down line situation of nodes in the system.Based on the routing link provided by the routing graph,this thesis designs a data transfer mechanism to realize the file cross LAN transmission,so that the system can adapt to various network environments.The test results show that the distributed file transfer system designed and implemented in this thesis has obvious advantages in transmission efficiency compared with FTP.
Keywords/Search Tags:Distributed System, File Transmission, Cross LAN, Efficient Transmission
PDF Full Text Request
Related items