Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Coordination system and method for distributed services

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

Active Publication Date: 2020-02-14
GOSUNCN TECH GRP
View PDF5 Cites 5 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
  • Coordination system and method for distributed services
  • Coordination system and method for distributed services

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

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

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 belongs to the field of distributed service cluster management, and particularly relates to a distributed service coordination system and method, and the system comprises open source software Consul, a service cluster, and a database. A distributed lock mechanism provided by open source software Consul is used to select a master nod is selected from the service nodes to be responsible for data writing operation, other nodes serve as slave nodes, service configuration state information is read from a database and synchronized, and when the master node breaks down, substituters areautomatically selected from the slave nodes again. According to the scheme, a complex distributed service state consistency algorithm does not need to be realized, all service nodes become main nodesthrough regular attempt competition, the requirement for the number of nodes is avoided, and a competition mechanism is simple.

Description

technical field [0001] The invention belongs to the field of distributed service cluster management, and in particular relates to a distributed service coordination system and method. Background technique [0002] At present, the industry usually uses the following solutions for distributed service coordination: [0003] Option 1: Program integration election algorithm: All service programs are integrated with a distributed consensus algorithm similar to raft or paxos. Each service conducts elections and votes through agreements, and a Master is elected, and other nodes automatically become Slaves. When the Master fails, the rest of the Slaves Re-elect the leader and replace the Master; the shortcoming of the existing technical solution is that the way of integrating the 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:...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products