Supercharge Your Innovation With Domain-Expert AI Agents!

A high-availability time-series database cluster system based on message queue

A message queue and time series data technology, applied in the database field, can solve problems such as scenarios that are not suitable for horizontal horizontal clustering expansion, not suitable for high-frequency concurrent writing, and loss of newly collected data, so as to reduce data synchronization and avoid data Loss, the effect of reducing the failure rate

Active Publication Date: 2021-10-22
北京远舢智能科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the system alternately sends write requests to two influxdb nodes, which is not suitable for high-frequency concurrent write scenarios. The data writing module may become a system bottleneck. At the same time, if both host nodes fail, the newly collected data will be permanently lost, and the architecture is not very capable of horizontal horizontal cluster expansion

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 time-series database cluster system based on message queue
  • A high-availability time-series database cluster system based on message queue
  • A high-availability time-series database cluster system based on message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0045] At present, most time-series databases do not provide highly available cluster versions. Therefore, when there are a large number of concurrent writes, the time-series database of a single instance may cause data loss due to database failure due to simultaneous writing and query requirements.

[0046] In order to solve the above problems, the embodimen...

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

This application relates to a high-availability time-series database cluster system based on message queues, which belongs to the field of database technology, and includes message queue clusters, connector modules and time-series database clusters; the connector module includes multiple database connectors, and each database connection The servers are all connected to the message queue cluster; the time series database cluster includes multiple time series database nodes connected one by one with multiple database connectors; the message queue cluster is used to receive and cache the time series data of data producers; multiple database connectors are used to Read time-series data from the message queue cluster, and write time-series data to multiple time-series database nodes in parallel based on multiple threads; the database connector that sends write failure information is used to write failure information corresponding to the first preset time interval Time series database nodes continue to write time series data. This application can meet the high-frequency concurrent writing and high-level horizontal cluster expansion capabilities of time series databases.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a high-availability time-series database cluster system implemented based on message queues. Background technique [0002] Time series data is mainly collected and generated by various types of real-time monitoring, inspection and analysis equipment in the power industry and chemical industry. Because time series data has the characteristics of fast production efficiency, heavy dependence on collection time, and large amount of information at multiple measurement points, a database system that can efficiently store and quickly process massive time series data is needed, and time series databases have emerged as the times require. [0003] The Chinese patent document with the patent publication number CN111752758A discloses a high-availability system of influxDB with a dual-master architecture. The system uses the access module to send the user's write request to two i...

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): G06F16/23G06F16/2457G06F16/2455G06F16/27G06F11/14G06F9/50G06F9/54
CPCG06F9/505G06F9/546G06F11/1448G06F2209/547G06F2209/548G06F16/2365G06F16/24552G06F16/24578G06F16/27
Inventor 李晓波
Owner 北京远舢智能科技有限公司
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