Distributed service coordination system and method

A distributed service and coordination method technology, applied in the field of distributed service cluster management, can solve problems affecting system stability, complex distributed cluster coordination schemes, etc., and achieve the effect of a simple election mechanism

Inactive Publication Date: 2018-11-23
GOSUNCN TECH GRP
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of this invention is to propose a distributed service coordination system and method to solve the problem that the distributed cluster coordination scheme in the prior art is too complicated and affects the stability of the system question

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed service coordination system and method
  • Distributed service coordination system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0029] The invention provides a distributed service coordination system, such as figure 1 As shown, it includes the open source software Consul, service cluster and database. Among them, the open source software Consul is used to provide service discovery and distributed lock mechanism; the service cluster is composed of multiple service nodes to implement internal business logic and provide user access services. ; The database is used to persistently save the ...

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

PUM

No PUM Login to view more

Abstract

The invention, which belongs to the field of distributed service cluster management, particularly relates to a distributed service coordination system and method. The system is composed of open sourcesoftware Consul, a service cluster and a database. With a distributed lock mechanism provided by the open source software Consul, a main node is selected from service nodes to be responsible for datawriting and the rest of nodes are used as slave nodes; service configuration state information is read from the database and is synchronized; when the main node fails to work, a replacer is selectedagain from nodes automatically. No complex distributed service state consistency algorithm needs to be implemented; and all service nodes become main nodes by regular election attempting, no node number requirement exists, and a simple election mechanism is provided.

Description

Technical field [0001] The invention belongs to the field of distributed service cluster management, and specifically relates to a distributed service coordination system and method. Background technique [0002] Currently, the following schemes are commonly used in the industry for distributed service coordination: [0003] Solution 1: Program integration election algorithm: All service programs integrate a distributed consensus algorithm similar to raft or paxos. Each service elects and votes through an agreement to elect a Master, and other nodes automatically become slaves. When the master fails, the remaining slaves Election for a new leader and replace the Master; the shortcoming of the existing technical solution 1 is that the integrated distributed consensus algorithm will bring additional complexity to the development and operation and maintenance of the cluster function, and the number of cluster nodes must be Base. [0004] Solution 2: Introduce the third-party arbitrati...

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L12/24
CPCH04L41/0668H04L41/30H04L67/10H04L67/1051H04L67/1095
Inventor 范日明李文杰林楷填黄松钦王杰王鹏黄仝宇汪刚宋一兵侯玉清刘双广
Owner GOSUNCN TECH GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products