Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed storage write buffer data step-by-step brushing method and device and medium

A technology for distributed storage and buffering of data, applied in the field of caching and flashing, can solve problems such as unfavorable software maintenance, complicated update information recording and update process, and unintuitive processing methods, and achieve easy maintenance, reduced complexity, and improved efficiency Effect

Active Publication Date: 2022-03-08
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the implementation of brushing down by stages and steps, one implementation method is to identify the data information to be written, record the update information of the object metadata, execute the data writing, and finally update the recorded object metadata update information to Object metadata and persistence, this processing method is not intuitive enough, and in addition to the original business writing process, a set of downsizing logic is implemented. When the business writes object metadata changes, the downsizing process also needs to Make corresponding adjustments, especially when the object metadata structure information is complex, the update information record and update process of the object metadata will be more complicated, this implementation method is not conducive to software maintenance

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 storage write buffer data step-by-step brushing method and device and medium
  • Distributed storage write buffer data step-by-step brushing method and device and medium
  • Distributed storage write buffer data step-by-step brushing method and device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] An embodiment of the present application provides a step-by-step brushing method for distributed storage write buffer data. In this application, the step-by-step downloading method of distributed storage cache data is realized through two writing processes. Among them, the first write process is realized by using temporary object metadata, and its function is to write the data to be downloaded from the high-speed storage device to the disk, without updating the object metadata of the data to be downloaded; the second time The writing process is implemented through object metadata, and it is necessary to feed back the disk space information of the disk space that stores the data to be flushed during the first write process, and then complete the update of the object metadata through the feedback of the disk space information; in the During the secondary write process, there is no need to write the data to be flashed to the disk. In this application, data downloading in ...

Embodiment 2

[0060] refer to Figure 4 As shown, the embodiment of the present application provides a device for step-by-step flashing of distributed storage write buffer data, including: a processing unit, a storage unit, an interface unit, a bus unit, and a power supply unit, wherein the bus unit is connected to the processing unit and An interface unit, the power supply unit supplies power to the processing unit, storage unit, interface unit and bus unit, the storage unit stores at least one instruction, and the processing unit reads and executes the instruction to realize the distributed storage Write buffer data step-by-step download method.

Embodiment 3

[0062] An embodiment of the present application provides a medium for realizing the step-by-step brushing method of distributed storage write buffer data. The medium for realizing the step-by-step brushing method of distributed storage write buffer data stores at least one instruction, reads and executes the instruction Realize the step-by-step brushing method of distributed storage write buffer data.

[0063] In this application, the step-by-step downloading method of distributed storage cache data is realized through two writing processes. Among them, the first write process is realized by using temporary object metadata, and its function is to write the data to be downloaded from the high-speed storage device to the disk, without updating the object metadata of the data to be downloaded; the second write The processing process is realized through the object metadata, and it is necessary to feed back the disk space information of the disk space storing the data to be flushed...

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 relates to a distributed storage write buffer data step-by-step brushing method and device and a medium. The method comprises the following steps: deeply copying object metadata of to-be-refreshed data to generate temporary object metadata, and processing a writing process of the to-be-refreshed data by utilizing the temporary object metadata to obtain disk space information of a disk space for storing the to-be-refreshed data so as to form disk write-in preparation information; then writing the to-be-refreshed data into a slow disk according to disk write-in preparation information, and in the process, compared with a conventional means, not updating the object metadata, but only writing the to-be-refreshed data; after writing is completed, the object metadata is used for processing the writing process of the data to be brushed down again, and updating of the object metadata is completed. According to the method and the device, asynchronization of data writing and object metadata updating in the down-brushing process of the to-be-down-brushed data is realized, priority of service writing is ensured, the data down-brushing efficiency is improved, the object metadata does not need to be recorded and updated, the program complexity is reduced, and maintenance is convenient.

Description

technical field [0001] The present application relates to the technical field of buffer flushing, and in particular to a method, device and medium for stepwise flushing of distributed storage write buffer data. Background technique [0002] In distributed storage, high-speed devices are usually used as write buffers to improve the write performance of the system. High-speed devices have strong read and write performance and can read and write quickly, but their capacity is limited. Data written to high-speed devices needs to be flushed to slow devices. After that, the downloaded data can be released from the high-speed device, so that the high-speed device can continuously accept write requests, thereby improving system performance. [0003] The flushing process of buffered data on high-speed devices involves the transfer of the buffered data itself and the update of the corresponding object metadata. The buffered data needs to be read from the high-speed device and written ...

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/0631G06F3/0604Y02D10/00
Inventor 王勇
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products