Unlock instant, AI-driven research and patent intelligence for your innovation.

Object storage small file processing method and device, equipment and storage medium

A technology of object storage and processing methods, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of Ceph storage system heavy load, reduce small file writing performance, etc., to reduce read and write pressure and improve performance , the effect of reducing the load

Inactive Publication Date: 2020-06-19
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, as more and more data needs to be stored, a large number of small files will frequently call the write interface to write a large number of small files to the OSD, and the frequent writing of small files will affect the Ceph storage system. Causes a relatively large load, reduces small file writing performance, and increases OSD read and write pressure

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
  • Object storage small file processing method and device, equipment and storage medium
  • Object storage small file processing method and device, equipment and storage medium
  • Object storage small file processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0049] seefigure 1 , which shows a flowchart of a method for processing a small object storage file provided in an embodiment of the present application. The method for processing a small object storage file provided in an embodiment of the present application may include:

[0050] S11: Receive the object data write request, judge whether the size of the small file contained in the object data write request is smaller than or equal to the preset value; if yes, execute step S12, if no...

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 an object storage small file processing method, device and equipment and a computer readable storage medium. The method comprises the steps that whether a small file containedin an object data writing request is smaller than or equal to a preset value or not is judged; if yes, whether the small file is written for the first time or not is judged, if yes, data in the smallfile is written into the aggregation file, and the identifier of the aggregation file, the length of the data and the position of the data in the aggregation file are stored in metadata of the small file; judging whether the capacity of the aggregation file exceeds a set capacity or not, if yes, writing the data into a new aggregation file, and if not, returning to execute the step of receiving the object writing request; writing the aggregated file reaching the set capacity into the OSD, and storing metadata into a database. According to the technical scheme disclosed by the invention, the plurality of small files are aggregated into one aggregated file, so that the writing frequency of the small files is reduced, and the load of frequent reading and writing of the small files on a storage system is effectively reduced.

Description

technical field [0001] The present application relates to the technical field of Ceph distributed file system, and more specifically, relates to a method, device, device and computer-readable storage medium for object storage and small file processing. Background technique [0002] Ceph is a distributed file system with excellent performance, strong reliability and scalability, which can provide three applications: file system, block storage and object storage. [0003] At present, for the object storage in the Ceph storage system, when writing small files, it is usually to write a single small file as a whole to the OSD (Object Storage Device, an object storage device, a kind of storage device related to the actual storage device). There is a logical concept of mapping relationship). However, as more and more data needs to be stored, a large number of small files will frequently call the write interface to write a large number of small files to the OSD, and the frequent wr...

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/172G06F16/182
CPCG06F16/172G06F16/182
Inventor 李朋辉梁珂铭胡永刚
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD