Multi-cluster data synchronization method of distributed storage system and related device

A distributed storage and data synchronization technology, applied in the database field, can solve the problems of data inconsistency, huge network bandwidth, increased request processing time, etc., to achieve the effect of avoiding network bandwidth, reducing request processing time, and avoiding data inconsistency

Pending Publication Date: 2020-02-14
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the redis multi-computer room data synchronization scheme in the prior art still has many deficiencies, for example, either the request processing time is doubled, or the data is inconsistent, or a huge network bandwidth is generated, etc.

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
  • Multi-cluster data synchronization method of distributed storage system and related device
  • Multi-cluster data synchronization method of distributed storage system and related device
  • Multi-cluster data synchronization method of distributed storage system and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, 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.

[0061] figure 1 It is a schematic diagram of a distributed storage system according to an embodiment of the present disclosure.

[0062] Such as figure 1 As shown, the distributed storage system of the present disclosure may include multiple computer rooms (such as computer room 1, computer room 2, computer room 3...), and each computer room may deploy a cluster, that is, the distributed storage system may include multiple clusters (such as Cluster A, Cluster B, Cluster C...). These multiple clusters may be based on a one-master-multiple-slave cluster mode, that is, may include one master cluster and multiple slave clusters.

[0063] Each cluster may includ...

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 multi-cluster data synchronization method of a distributed storage system and a related device, wherein the multiple clusters comprise a master cluster and slave clusters, each cluster comprises at least one server used for storing information, data of each server is stored based on a key value, the method is applied to the master cluster, the method comprises the following steps: receiving a data synchronization request sent by any slave cluster, wherein the data synchronization request comprises an index key; in response to the data synchronization request, acquiring total data of a value corresponding to the index key from a database of the master cluster; and sending the total data of the value corresponding to the index key to the slave clusters, so that theslave clusters realize full update of the value corresponding to the index key. Therefore, support is provided for guaranteeing the data consistency of multiple clusters.

Description

technical field [0001] The present disclosure relates to the technical field of databases, in particular to a multi-cluster data synchronization method and a related device of a distributed storage system. Background technique [0002] In a distributed storage system, multi-computer room deployment is a common means to enhance system disaster recovery and availability, but redis, as a very commonly used open source cache component, does not support multi-computer room deployment or multi-cluster synchronization. Therefore, major Internet companies usually design a redis multi-room data synchronization solution to solve the problem of data synchronization between multiple redis clusters in a distributed storage system. [0003] However, the redis multi-room data synchronization solution in the prior art still has many deficiencies, for example, the request processing time is doubled, the data is inconsistent, or huge network bandwidth is generated. How to overcome these defi...

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): G06F16/27G06F16/23G06F16/22
CPCG06F16/27G06F16/23G06F16/2228
Inventor 李明
Owner BEIJING DAJIA INTERNET 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