A high-availability system of influxdb with dual master architecture

A main architecture, user technology, applied in the direction of response error generation, structured data retrieval, special data processing applications, etc., can solve problems such as inability to perform load balancing, loss of data, etc., to achieve good database access performance, high availability features, The effect of reducing downtime

Active Publication Date: 2022-05-31
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this technical solution is based on the master-slave architecture. The slave node and the master node adopt timing synchronization to maintain the final consistency. In the interval between two synchronizations, the data will have certain differences, and data may be lost during switching. In addition, the cluster has only one node at the same time. Nodes provide services and cannot perform load balancing

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
  • A high-availability system of influxdb with dual master architecture
  • A high-availability system of influxdb with dual master architecture
  • A high-availability system of influxdb with dual master architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0062] as attached figure 1As shown, the InfluxDB high-availability system of the present invention has a dual-master architecture. The system includes two sets of access modules and two sets of monitoring disaster recovery modules. The access module and the monitoring disaster recovery module are used in conjunction with two InfluxDB nodes. The two sets of monitoring disaster recovery modules The modules use one node as the master node and the other node as the replication node to ensure the two-way consistency of the two nodes. The access module executes the user's write request on two InfluxDB nodes at the same time to ensure the real-time consistency of the database nodes. At the same time, the access module sends the user's read request to the two InfluxDB nodes alternately to achieve load balancing and improve query performance; monitoring The disaster recovery module monitors the available status of the back-end InfluxDB nodes, and provides a status query interface to t...

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 an InfluxDB high-availability system with a dual-master architecture, which belongs to the field of computer databases. The technical problem to be solved by the invention is how to ensure data consistency, avoid data loss, and seamlessly perform failover. The technical solution adopted is: the system includes an access module and a monitoring disaster recovery module. The access module and the monitoring disaster recovery module are used in conjunction with two InfluxDB nodes. The access module is used to execute the user's write request on the two InfluxDB nodes at the same time. Ensure the real-time consistency of the database nodes, and at the same time, the access module sends the user's read requests to the two InfluxDB nodes alternately to achieve load balancing and improve query performance; the monitoring disaster recovery module is used to monitor the availability status of the back-end InfluxDB nodes, and send The access module provides a status query interface, and at the same time automatically completes the data when the database data is found to be delayed.

Description

technical field [0001] The invention relates to the field of computer databases, in particular to an InfluxDB high-availability system with a dual-master architecture. Background technique [0002] As one of the most commonly used open source time-series databases on the market, InfluxDB has always lacked a relatively complete open source high-availability solution. Existing solutions usually use timing master-slave synchronization to achieve hot backup of data, and switch to the slave node for use when the master node fails. Since time-series databases are usually written very frequently, it is difficult to achieve seamless switching when a failure occurs, and the use of timing synchronization may also result in the loss of some data during switching. [0003] Therefore, how to ensure data consistency, avoid data loss, and seamlessly perform failover has become a problem that needs to be further solved in the InfluxDB high availability solution. [0004] Patent No. CN1106...

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 Patents(China)
IPC IPC(8): G06F11/14G06F16/27
CPCG06F11/1446G06F16/27
Inventor 赵山王阳厉颖
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
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