Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for controlling asynchronous progresses among plurality of services based on Zookeeper

A progress control and multi-service technology, applied in the field of distributed systems, to achieve the effect of simple and asynchronous progress control

Inactive Publication Date: 2014-02-12
OPZOON TECH
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the research and practice of the prior art, the inventor found at least the following problems in the prior art: for the above-mentioned complex software, there is still no good method to efficiently and easily realize the asynchronous progress control between the above-mentioned multiple services At the same time, Zookeeper cannot be directly applied to asynchronous progress control of complex software

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
  • Method and system for controlling asynchronous progresses among plurality of services based on Zookeeper
  • Method and system for controlling asynchronous progresses among plurality of services based on Zookeeper

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0036] The processing flow of the method for asynchronous progress control between multiple services based on Zookeeper provided by the embodiment of the present invention is as follows: figure 1 Shown, where Zookeeper is a distributed, open source distributed application coordination service. In Zookeeper, a znode is a node similar to the Unix file system path, and data can be stored or retrieved from this node.

[003...

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 discloses a method and system for controlling asynchronous progresses among a plurality of services based on a Zookeeper. The method comprises the following steps: newly creating a node; registering the plurality of services respectively on the Zookeeper, and observing monitoring of the newly created node; after a parent task is performed, writing related information including current subtask required to be processed and a service for processing the subtask into the newly created node; obtaining the related information by the plurality of services through monitoring; processing by the services according to the related information; when all subtasks are processed, ending the parent task. The method can be used for efficiently and simply controlling the asynchronous progresses between the plurality of services.

Description

technical field [0001] The invention relates to the field of distributed systems, in particular to a method and system for asynchronous progress control among multiple services based on Zookeeper. Background technique [0002] Complicated software is generally coordinated by different services to complete a complex function. These different services may run on the same physical server, or they may run on different physical servers. Regardless of where the other service is running, multiple services need to use a pre-negotiated mechanism to unify and coordinate the progress, and follow certain steps to jointly complete a responsible task, but there is currently no good way to efficiently and easily Realize the asynchronous progress control between the above multiple services. [0003] Zookeeper is a distributed, open source distributed application coordination service. In Zookeeper, a znode is a node similar to the Unix file system path, and data can be stored or retrieved...

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
IPC IPC(8): G06F9/46H04L29/08
Inventor 徐安
Owner OPZOON TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More