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

Method for realizing high availability and load balancing of Influxdb-proxy on basis of zookeeper

A load balancing and real-time monitoring technology, which is applied in the direction of using information identifiers to retrieve web data, special data processing applications, resource allocation, etc., can solve the problem of data writing and query not working normally, unable to support high concurrent access, and upper-layer applications Faults and other problems, to achieve the effect of improving the degree of automation, load balancing, and increasing stability

Pending Publication Date: 2020-08-11
北京思特奇信息技术股份有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] InfluxDB is a time series database written in Go language. Influxdb-proxy carries the real-time writing and query of massive time series data in different scenarios. As the amount of data increases and the frequency increases, Influxdb-proxy cannot support high concurrency at a single point. Access, single point of failure obvious
If the influxdb-proxy goes offline abnormally, all data writing and querying will not be able to proceed normally, resulting in upper-layer application failure

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 for realizing high availability and load balancing of Influxdb-proxy on basis of zookeeper
  • Method for realizing high availability and load balancing of Influxdb-proxy on basis of zookeeper
  • Method for realizing high availability and load balancing of Influxdb-proxy on basis of zookeeper

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 only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0029] see Figure 1-Figure 3 , the present invention provides a technical solution:

[0030] A high availability and load balancing method for implementing Influxdb-proxy based on zookeeper, comprising the following steps:

[0031] S1: Start influxdb-proxy, dynamically register the service ip and port gate under the zookeeper parent node, and generate temporary child nodes. Each temporary child node is configured with a watcher, and each watcher is one-time. Immediat...

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 for realizing high availability and load balancing of Influxdb-proxy on the basis of zookeeper, and the method comprises the following steps that S1, the Influxdb-proxy is started, service information is registered to a zookeeper father node, and a temporary child node is generated; S2, the zookeeper monitors the operation state of each influxdb-proxy service in real time through a watcher, after a certain service is abnormally offline, the zookeeper can actively delete the temporary node of the service, and meanwhile, the zookeeper informs a client of node change; and S3, the client obtains the available influxdb-proxy service address from the zookeeper again. The method for realizing high availability and load balancing of the Influxdb-proxy based on thezookeeper has the advantages that the availability is high; the operation and maintenance cost can be reduced, the stability of the influxdb cluster is improved; the influxdb cluster can be guaranteedto continuously provide the service for the outside, loss caused by hardware, software and human error proneness is reduced, concurrency is improved, the zookeeper can be configured with multiple influxdb-proxy, load balance is realized, and influxdb cluster performance is improved.

Description

technical field [0001] The invention belongs to the high-availability technical field of time series databases, and in particular relates to a high-availability and load balancing method for implementing Influxdb-proxy based on zookeeper. Background technique [0002] InfluxDB is a time series database written in Go language. Influxdb-proxy carries the real-time writing and query of massive time series data in different scenarios. As the amount of data increases and the frequency increases, Influxdb-proxy cannot support high concurrency at a single point. access, the single point of failure is obvious. If influxdb-proxy goes offline abnormally, all data writing and querying will not be able to proceed normally, resulting in upper-layer application failure. Contents of the invention [0003] The purpose of the present invention is to provide a high availability and load balancing method for implementing Influxdb-proxy based on zookeeper, so as to solve the problems raised ...

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/50G06F16/955
CPCG06F9/5088G06F16/9566
Inventor 李峰
Owner 北京思特奇信息技术股份有限公司
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