Distributed system data writing method and device

A distributed system and data writing technology, which is applied in the field of data processing, can solve the problems of increasing the burden of data writing operations and verification network overhead, reducing the overall performance of distributed systems, and wasting storage space, so as to reduce data writing The number of input operations and the corresponding effect of reducing the number of checks and improving overall performance

Pending Publication Date: 2021-06-18
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this data writing scheme, in the case of a large number of partitions, it is difficult to fill up the stripes of each partition and then write them into the data storage nodes to which each partition belongs, which will cause waste of storage space. , and increases the burden of data writing operations and the network overhead of verification, reducing the overall performance of the distributed system

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
  • Distributed system data writing method and device
  • Distributed system data writing method and device
  • Distributed system data writing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Embodiments of the present application provide a method, device and system for writing data in a distributed system, which are used to reduce the burden of data writing operations and the network overhead of verification, so as to improve the overall performance of the distributed system.

[0041] Embodiments of the present application are described below in conjunction with the accompanying drawings.

[0042] see figure 1 , which shows an example diagram of a distributed system architecture applied in the embodiment of the present application, such as figure 1 As shown, in this scenario, a virtual block storage management component (virtual block system, VBS) 101, a client CLIENT 102, a metadata server (meta data controller, MDC) 103 and an OSD 104 (including figure 1 in OSD1, OSD2, OSD3, OSD4). The VBS 101 is connected to the client CLIENT102, and the client CLIENT102 is connected to the MDC103. At the same time, the client CLIENT102 is connected to the OSD104 de...

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 embodiment of the invention discloses a distributed system data writing method and device which are used for reducing the burden of data writing operation and the network overhead of verification so as to improve the overall performance of a distributed system. The method comprises the steps that after at least two data writing requests including a first data writing request and a second data writing request are received, a temporary partition is determined according to first to-be-written data and a first attribution partition carried by the first data writing request and second to-be-written data and a second attribution partition carried by the second data writing request; and the method also includes writing the first to-be-written data and the second to-be-written data into temporary partitions, and marking the temporary partition and the first attribution partition corresponding to the first to-be-written data written into the temporary partitions and the temporary partition and the second attribution partition corresponding to the second to-be-written data written into the temporary partitions; further, according to the temporary marks, writing the first to-be-written data back to the first attribution partition, and writing the second to-be-written data back to the second attribution partition.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a method and device for writing data in a distributed system. Background technique [0002] In the current era of information and data storm growth, in order to improve the data processing rate, more and more distributed systems are used for data storage to provide distributed storage services for massive data and high-speed read and write access capabilities. [0003] A distributed system consists of a client and several data storage nodes connected to each other. Among them, the data storage node is responsible for data storage, and each object storage device (OSD) module is deployed on a data storage node, and a fixed number of partitions are usually set in a distributed system, for example, 1024 partitions, and each partition belongs to one or more different data storage nodes. [0004] At present, the existing distributed system data writing method is...

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): G06F3/06
CPCG06F3/067G06F3/061G06F3/0665G06F3/0631
Inventor 魏明昌饶蓉
Owner HUAWEI CLOUD COMPUTING 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