| Microservice is the key technology of application service framework in the cloud native domain,and plays an important role in agile development,continuous integration,continuous deployment,cloud computing and other related fields.The microservice governance framework is used to govern large-scale microservices in terms of service registration and discovery,traffic management,observability,and security.It provides a more flexible,agile,and efficient application service system,which has a broad and important impact on the stable operation of microservice applications.However,due to the binding relationship between microservice governance functions and application functions,high upgrade costs,and insufficient multilingual support,it is difficult to uniformly manage heterogeneous microservices to achieve good governance results.Due to the deep binding of service governance functions to business functions,microservice governance is facing the challenges such as insufficient governance capabilities for heterogeneous microservices,low mesh governance performance,high cost,and difficulty in accessing applications.The usual approach to microservice governance is to use frameworks such as Spring Cloud,Go Micro,and Zero to govern Java applications,Go applications,and Python applications respectively,but none of these challenges can be solved.Facing the above challenges,a cross language supported microservice governance solution is designed in this thesis,achieved low-cost,highperformance,and easily deployable microservice governance capabilities in cloud native microservice scenarios.Specifically,the main contributions of this thesis are summarized as follows:(1)A cloud native microservice governance solution based on service mesh in has been designed in this thesis.In response to the problems of deep binding and upgrading between microservice business functions and service governance frameworks,a non-invasive network side car proxy solution is designed,which achieved the function of hijacking all network communication traffic between microservice components and achieving the goal of efficient governance of microservice invocation.Specifically,a dual plane service governance mesh model is designed to achieve transparent traffic hijacking of applications by data plane network side car agents,and centralized policy formulation and distribution in the control plane;Designed a non-invasive network side car proxy Sidecar as the data plane,achieving complete separation of microservice governance function and business function,and providing traffic proxy function for microservice applications;designed a unified configuration component for governance policies as the control plane,achieving service governance functions such as secure connection,traffic management,and observability between cloud native microservices.(2)Three performance optimization schemes have been designed for the network side car agent Sidecar.Aiming at the problem of high cost and low performance of Sidecar,a network side car agent,three performance schemes that can be combinatorial optimization are designed to realize the cost control of cloud native microservices in terms of network agents,and the performance optimization in terms of governance capabilities,so as to achieve the goal of reducing costs,reducing delays and improving performance at the same time.Specifically,the optimization scheme of Proxyless transparent proxy pattern is designed to solve the problem of high cost of network side car proxy resources;Designed an optimization solution based on e BPF to intercept traffic and shorten the call path,solving the problem of high latency in network side car proxy calls;We have designed an optimization scheme for Envoy log sampling,which solves the problem of low throughput performance of network side car agents.(3)The one-click deployment of the governance scheme has been designed.In response to the problem of difficult access to applications in governance solutions,designed a one-click access application scheme based on the above two designed solutions for cross language microservice universal services.Specifically,in the K8 S cluster,deploying and orchestrating microservice applications in a lightweight containerized manner and designing a one click access service mesh solution for microservice governance have achieved the design expectation of easy deployment and controllable cost,achieving the goal of efficient governance of cloud native heterogeneous microservices.The experimental results show that the cloud native micro-service governance scheme based on the service mesh proposed in this thesis can effectively deal with the binding problem of the governance function of the micro-service framework with the business function library,and the problem of the function library is difficult to upgrade;The four network sidecar agent deployment modes designed in this thesis can implement lightweight container deployment for different scenarios.With corresponding optimization schemes,it can provide high throughput and low latency while reducing costs,and improve overall performance;On this basis,this thesis designs a lightweight one-click access application mode,which can easily access applications and achieve the goal of efficient governance of cloud native micro-services. |