Data storage method and device of cluster

A data storage and clustering technology, applied in the computer field, can solve the problem that node storage throughput and storage cost cannot be considered and balanced, and achieve the effect of saving storage cost and improving throughput

Inactive Publication Date: 2017-04-19
LETV HLDG BEIJING CO LTD +1
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to at least solve the technical problem in the prior art that the storage throughput and storage cost of the nodes in the cluster

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
  • Data storage method and device of cluster
  • Data storage method and device of cluster
  • Data storage method and device of cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] 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.

[0034] Such as figure 1 As shown, the embodiment of the present invention provides a cluster data storage method, including:

[0035] Step S10: Map multiple nodes in the cluster to the consistent hash ring according to the network address of each node in the cluster;

[0036] Step S11: in response to the write requests of the data to be stored b...

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 present invention provides a data storage method and apparatus of a cluster. The method includes the following steps that: a plurality of nodes in the cluster are mapped onto a consistency Hash loop according to the network addresses of the nodes in the cluster; the data-to-be-stored write-in requests of a plurality of clients are responded, an election instruction is transmitted to the plurality of clients; the data-to-be-stored write-in requests of main writers listed by the plurality of clients are responded, the attribute information of data to be stored is determined; the data to be stored are mapped onto the consistency Hash loop according to the attribute information of the data to be stored, and nodes to store data, which are associated with the data to be stored, are determined from the plurality of nodes on the consistency Hash ring; and the network addresses of the nodes to store data are sent to the main writers. With the data storage method and apparatus of the cluster provided by the embodiments of the invention adopted, the throughput capacity of the nodes can be effectively increased under a condition that the capacity of the storage cluster is not expanded, and storage cost can be effectively saved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a cluster data storage method and device. Background technique [0002] In recent years, the Internet has developed astonishingly, and the applications of the Internet have also emerged in an endless stream. The rapid development of the Internet has put forward higher requirements for network storage. The increase in network bandwidth has led to the emergence of a large number of new applications on the Internet, such as the application of Internet live broadcasting, which further drives the development of the storage industry. [0003] In the practical application of storage technology, cluster technology is usually used to form a cluster of two or more server nodes to provide users with more efficient fault tolerance and fault recovery capabilities, increase the processing capacity of massive tasks, and thus provide more Good reliability and practicality. [0004] Taking c...

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): H04L29/08
CPCH04L67/10H04L67/1097
Inventor 李寅斌
Owner LETV HLDG BEIJING 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