Font Size: a A A

Design And Implementation Of A File Sharing System In Local Area Network

Posted on:2021-05-19Degree:MasterType:Thesis
Country:ChinaCandidate:Z D XiaFull Text:PDF
GTID:2518306557990929Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Recently,with the rapid development of the Internet and office automation,building a reliable,fast and safe LAN-based file sharing system has been the urgent need of the enterprises and companies.Because of the traditional Client/Server architecture and out-of-date design concept,common file sharing systems nowadays are not flexible on access control and consistency control,so that they cannot meet the more and more complicated demands of the file sharing.This thesis supposes to build a new LAN-based file sharing system,to help the employees share their resources in the enterprise network.This system need to have the ability of access control and upgrade consistence,also it need to have capacity of high concurrency and high availability.Based on the demand analysis,this thesis firstly completes the architecture of the system;and then based on the different demands from the employees,using Spring Boot,REST API,Micro-Service,this system will query the readable/writeable file list of the user in the access-control-micro-service,so that users can only access to the files that they have the authority.And the system will request the access-control-microservice before updating a file,prevent locking or updating an already locked file so that ensure the upgrade consistence.The front end Node.js application will limit the requests to be sent to the back end micro-services;and in the file-read-write-service,the system will put the hot files into redis to improve the speed of response.Meanwhile,using Zookeeper cluster mode to deploy the system to ensure the high availability.At last,this thesis set a testing environment to do function and performance test for the system,the testing result shows that this system has the function of downloading and uploading files,function of access control and function of upgrade consistence,and the average response time is below 5 seconds,the concurrency of system can up to 100 per seconds,and the usage of CPU is not more than 70%.This system can satisfy the requirement of function and performance,and has been used in practical work.
Keywords/Search Tags:file sharing, access control, upgrade consistence, micro service
PDF Full Text Request
Related items