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

DUBBO-based ZooKeeper cluster configuration method and apparatus

A cluster and intra-cluster technology, applied in the Internet field, can solve the problems of data clutter and inability to achieve reliable data storage, and achieve the effect of reliable storage and easy maintenance and processing.

Active Publication Date: 2018-03-06
BEIJING MATARNET TECH
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing technology uses broadcasting or direct connection to process data in the service process, resulting in data often in a messy state, and reliable storage of data cannot be achieved

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
  • DUBBO-based ZooKeeper cluster configuration method and apparatus
  • DUBBO-based ZooKeeper cluster configuration method and apparatus
  • DUBBO-based ZooKeeper cluster configuration method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0031] figure 1 It is a schematic flowchart of a method for configuring a DUBBO-based ZooKeeper cluster according to an embodiment of the present invention, such as figure 1 As shown, a method for configuring a DUBBO-based ZooKeeper cluster provided by an embodiment of the present invention, the DUBBO includes a service provider and a service con...

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

Embodiments of the invention provide a DUBBO-based ZooKeeper cluster configuration method and apparatus. DUBBO comprises a service provider and a service consumer. The method comprises the steps of obtaining a terminal number n as the service consumer and a to-be-published service provided by the service provider; storing data corresponding to the to-be-published service in ZooKeeper; and according to the terminal number n and a preset rule, performing cluster configuration on the ZooKeeper to obtain a simultaneous running process number m of data in the ZooKeeper, and according to the processnumber m, performing maintenance processing on the data. According to the DUBBO-based ZooKeeper cluster configuration method and apparatus provided by the embodiments of the invention, ordered and reliable storage of the data can be ensured and the data can be maintained conveniently.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of the Internet, in particular to a method and device for configuring a DUBBO-based ZooKeeper cluster. Background technique [0002] With the rapid development of Internet technology, DUBBO, as an open source distributed service framework, has been increasingly widely used. [0003] DUBBO adopts a very simple model. DUBBO itself does not provide a specific service process, but only provides API methods for calling, and defines two roles of service provider (Provider) and service consumer (Consumer). Among them, the service provider publishes the service to the service registration center; the service consumer subscribes to the service from the registration center; the service consumer invokes the registered available service. In the prior art, data in a service process is processed in a broadcast mode or a direct connection mode, resulting in data often being in a messy state, and ...

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): G06F9/50G06F9/54
CPCG06F9/5027G06F9/5072G06F9/5083G06F9/547G06F2209/5015G06F2209/549
Inventor 王军
Owner BEIJING MATARNET TECH
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