Font Size: a A A

Application And Research Of Micro-service In Distributed Network Disk

Posted on:2022-09-02Degree:MasterType:Thesis
Country:ChinaCandidate:C Y WangFull Text:PDF
GTID:2518306566977089Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet,the amount of concurrent access is more and more large,and the function of software is more and more abundant.The common distributed architecture can not improve the efficiency of software development.Microservice architecture has a great advantage in solving the long development cycle of large software.Spring Cloud is a comprehensive implementation scheme of microservice architecture at present.However,due to the large Internet companies in China mostly use Dubbo as the micro service governance tool,Spring Cloud is not widely used in China.In order to explore the application of spring cloud in software development,this paper applies spring cloud to the development of the network disk system,which improves the development efficiency and maintenance convenience of the network disk system compared with other distributed network disks;The problem that Eureka heartbeat health check mechanism can not detect the result of service call is solved.The research work of this paper is as follows:(1)The advantages and functions of Spring Cloud are analyzed by comparing the Dubbo and Spring Cloud which are used more in China,and the common development components of Spring Cloud are introduced.(2)This paper analyzes the requirements of the network disk system,defines the organizational structure of the network disk,and completes the design and implementation of Spring Cloud in the network disk system.(3)In the development process of spring cloud network disk,it is found that Eureka's health check on service instance can only judge whether the service is online,but can't feed back whether the service call is successful.This paper analyzes the working principle of Eureka heartbeat mechanism in detail,adds an activator component to monitor the call status of the service,and updates the failed service status to the service registration list in the service registry.Service consumers filter the failed services from the list,which improves the success rate of service call and enhances the reliability of the system.(4)The test environment is built,the test case is designed,and the optimized Eureka health check mechanism and the original heartbeat mechanism are tested and analyzed.It is verified that the actuator monitoring service call status can make up for the shortage of Eureka heartbeat mechanism and improve the success rate of remote call of microservice.
Keywords/Search Tags:Micro service, network disk system, Spring Cloud, Eureka health examination mechanism
PDF Full Text Request
Related items