Implementation method for high availability of cluster microservices

An implementation method and technology of microservices, applied in the field of cloud computing, can solve the problems of increased capture and processing difficulty, inability to maintain context, complex business logic, etc., and achieve good scalability, high stability, and high efficiency.
CN108712464AInactive Publication Date: 2018-10-26INST OF INFORMATION ENG CAS

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
INST OF INFORMATION ENG CAS
Publication Date
2018-10-26
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an implementation method for high availability of cluster microservices, comprising the following steps: deploying a service architecture to synchronously sense the newly-published microservices by all the nodes in the cluster; performing load balancing adjustment on the microservices by establishing an IPTABLES forwarding rule by the service agents of each node in the cluster; running the service load monitoring program on each node in the cluster, periodically collecting and integrating the load status of all microservices of each node, and accordingly performing the operation for dynamically increasing or deleting the backend instances of the microservices. So that, after the new service is released, all the nodes in the cluster may be perceived, and an adaptive load balancing policy is implemented on this basis, so as to dynamically adjust the local IPTABLES forwarding rule according to the adaptive load balancing policy when performing capacity expansion andshrinkage, thereby ensuring load balancing after the capacity expansion and shrinkage, that is, playing a role to realize the high availability of cluster microservices from different stages and perspectives.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of cloud computing, in particular to a cluster microservice-oriented high-availability implementation method. Background technique

[0002] Under the trend of the prosperity and development of the cloud computing industry, microservices are increasingly presented to people. Microservice is an architectural style. Each microservice in the system can be deployed independently, and each microservice is loosely coupled. Each microservice is only focused on doing one task and doing it well, and each task represents a small business capability.

[0003] There are many advantages to adopting the Microservices architectural pattern over traditional monolithic applications. First of all, it solves the complexity problem for multiple service methods by decomposing a huge single application, and reduces the development and maintenance costs of the overall service through a modular solution; secondly, this architecture ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More