Method and device for writing in data in distributed system

A distributed system and data writing technology, applied in the computer field, can solve the problem of high delay, and achieve the effect of improving throughput efficiency, reducing the number of communications, and reducing the delay of writing

Inactive Publication Date: 2017-04-19
ALIBABA GRP HLDG LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the common way of writing data in distributed storage systems is usually chain writing. A successful write requires at least six serial communications between machines, and the delay is relatively high.

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
  • Method and device for writing in data in distributed system
  • Method and device for writing in data in distributed system
  • Method and device for writing in data in distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The application will be described in further detail below in conjunction with the accompanying drawings.

[0051] According to one aspect of the present application, a system device for writing data in a distributed system is provided, the system device includes a client node device, a master node device, and a slave node device; wherein, the client node device includes a request device, a write device and judging device; the master node device includes a distribution device, a generation device and a sending device; the slave node device includes an acquisition device and a feedback device.

[0052]This application requests the master node device on the client node device side to allocate several slave node devices for data writing; then, concurrently writes the current data into each currently assigned slave node device; then the client node device obtains each current The write result fed back by the assigned slave node device, and based on the write result, judge wh...

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 objective of the invention is to provide a method and a device for writing in data in a distributed system. The method comprises steps of requesting for distribution of multiple slave node devices for writing in data for a master node device at a client node device end; then, simultaneously writing the current data in each currently distributed slave node device; acquiring a write-in result fed back by each currently distributed slave node device, and judging whether the current data has been totally written into each slave node device or not based on the write-in result; and if not, circularly executing above processes until the current data has been totally written into each currently distributed slave node device. Thus, communication frequency between devices when the data is written is effectively reduced. Meanwhile, by simultaneously writing data blocks in each currently distributed slave node device in an asynchronous request manner, the delay in writing in is greatly reduced, and the throughput efficiency of the distributed system is increased.

Description

technical field [0001] The present application relates to the computer field, and in particular to a technology for writing data in a distributed system. Background technique [0002] At present, the distributed storage system uses a large number of PC (personal computer) clusters to store massive data. In order to ensure data security, three copies of storage are generally carried out on different PCs. The loss of a copy will not result in the loss of user data. With the development of Internet technology, massive file storage has higher and higher requirements for storage technology and systems. For example, when storing logs, data must be persisted when writing data, and the read and write delay of logs restricts the throughput of the entire system. Therefore, in general Logging systems all require extremely low latency, not only requiring low average latency, but also low latency glitch rate. [0003] In the prior art, a common way of writing data in a distributed stor...

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/06H04L29/08
Inventor 吴洋
Owner ALIBABA GRP HLDG 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