Font Size: a A A

Design And Implementation Of Microservice Reliability Guarantee System

Posted on:2021-12-18Degree:MasterType:Thesis
Country:ChinaCandidate:K K YanFull Text:PDF
GTID:2518306050484464Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the rapid development of the Internet,virtualization,cloud computing services,and software technologies,traditional single-architecture software development models have been unable to meet the requirements of major Internet companies at home and abroad.The software architecture development model has started from monolithic.The centralized architecture has evolved to a microservice-oriented architecture,improving the scalability and stability of the system,with the evolution of the system and the increase in the number of microservices,problems such as centralization,difficult maintenance,and high costs make it is difficult for microservice architectures to adapt to rapidly changing market environment requirements.Microservices cannot guarantee reliable service interaction,automatic service fault tolerance,and reasonable utilization of system resources in cloud platforms.In response to the above problems,this thesis designs and implements a microservice reliability assurance system.Based on Docker virtualized container technology,The system complete service fault detection and rapid recovery,service node migration and scheduling,service health status monitoring,and call chain tracking by using Kubernetes as the infrastructure,and combing the Istio service management platform to achieve accurate service discovery and efficient access in the microservice architecture.The specific research content includes the following modules:(1)Design and implement service interaction modules.By analyzing the service discovery process and access process under the microservice architecture,the service interaction model is designed,and the service interaction module is designed and implemented according to the relationship between the service model and the platform and the data transmission form to ensure the efficiency of the service during the service interaction process Access and reliable transmission of data.(2)Design and implement service fault tolerance modules.By monitoring the health status and request process of the service,and using containerized isolation technology,the faulttolerant mechanism is used to fuse and downgrade the failed service.By analyzing the system's resource usage,the system status can be monitored in real time.When resources are limited,the flow control protection mechanism is automatically enabled to ensure the reliability and stability of the system in a high concurrency environment.(3)Design and implement a migration and scheduling strategy.By calculating the system resource usage and the current resource requirements of the service itself,the system nodes are filtered and graded.The optimal scheduling strategy is used to select the appropriate node for service deployment to ensure stable service operation.(4)Design and implement service monitoring module.By analyzing the system's application environment and service health status,a service monitoring module is designed and implemented.This module mainly includes monitoring the status of server nodes and resource usage,collecting data generated by the service interaction process,monitoring the running status of services and the system resources.Usage,dynamic adaptive adjustment service.The experiments show that the reliability guarantee system stably guarantees the reliable operation of microservices in a distributed environment,improves the efficient access and reliable interaction between services,and reduces the operation and maintenance time through automated deployment and adaptive adjustment strategies.The cost improves the utilization of system resources and ensures the stability of microservices running on the cloud platform system.
Keywords/Search Tags:Microservice, Reliability, docker container, Kubernetes, Istio
PDF Full Text Request
Related items