A method of recording object storage bucket statistical counts

A technology of object storage and storage bucket, which is applied in the direction of input/output to record carrier, input/output process of data processing, calculation, etc. It can solve problems such as writing conflicts, writing hotspots, and time-consuming waiting, so as to avoid writing conflicts, Effects of Avoiding Write Hot Issues

Active Publication Date: 2022-02-18
深圳市杉岩数据技术有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In view of this, the present invention proposes a method for recording object storage bucket statistics and counting, aiming at solving unnecessary waiting caused by request queuing in high concurrency scenarios by replacing back-end storage components on the basis of synchronous statistics flow Time-consuming, and avoid writing conflicts and writing hotspots caused by modifying the same Key in high-concurrency scenarios

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
  • A method of recording object storage bucket statistical counts
  • A method of recording object storage bucket statistical counts
  • A method of recording object storage bucket statistical counts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0029]A specific embodiment of the present invention proposes a method for recording statistics of object buckets, including the following steps: S1. After the object storage gateway completes the write operation, it synchronously updates the value of the key of the statistics of the bucket to which the target object belongs. S2. Split the statistical key of the storage bucket to which the target object belongs to several subkeys, and divide the entire key space into subspaces with a specified number of slices; after splitting the statistical key, when performing a write operation, execute the write operation The thread must first splice the keys to be modified according to the pre-agreed format. S3. The task thread reads and modifies the value of the statistical count key of the storage bucket to which the target object belongs from its cache,...

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 a method for recording statistics and counting of object storage buckets, belonging to the field of data storage, comprising: after the object storage gateway RGW completes the write operation, synchronously updating the value of the key of the storage bucket statistics and counting to which the target object belongs; and counting the target storage bucket The key of the target key is split into several sub-keys, and the entire key space is divided into sub-spaces with a specified number of slices; the task thread reads the value of the target key from its cache, re-stores and persists it to the sub-key of the target key after modification. In TIKV; after RGW accepts the request to read the statistics of the target bucket, combined with the bucket corresponding to the request, it splits it into processing requests for multiple subkeys and sends it to the backend TIKV; S5, TIKV statistics on the target bucket The counted subkeys are traversed and merged in the TIKV node, and then the merged result is returned to RGW for secondary merging. Avoid unnecessary waiting time due to request queuing in high-concurrency scenarios, as well as write conflicts and write hotspots caused by modifying the same Key.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a method for recording statistical counts of object storage buckets. Background technique [0002] Object storage, or object-based storage, is a general term used to describe methods of addressing and processing discrete units called objects. Like files, objects contain data, but unlike files, objects are never hierarchical within a hierarchy. Every object is in the same level of a flat address space called a storage pool, and one object does not belong to another level below another object. [0003] Both files and objects have metadata about the data they contain, but objects are characterized by extended metadata. Each object is assigned a unique identifier, allowing a server or end user to retrieve the object without knowing the physical location of the data. This approach is helpful for automating and simplifying data storage in cloud computing environments. Object s...

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 Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/0611G06F3/0659G06F3/067
Inventor 李恩泽文刘飞陈坚
Owner 深圳市杉岩数据技术有限公司
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