Access request processing method and device

A technology for accessing requests and processing methods, applied in the database field, can solve problems such as performance degradation and consumption of large disk IO performance, and achieve the effects of improving performance, reducing IO times, and reducing performance consumption

Pending Publication Date: 2020-11-10
北京星辰天合科技股份有限公司
View PDF14 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for processing access requests to at least solve the technical problem that the processing method of access requests in the related art consumes a large amount of disk IO performance when access requests are frequent, resulting in performance degradation

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
  • Access request processing method and device
  • Access request processing method and device
  • Access request processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] According to an embodiment of the present invention, a method for processing an access request is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although in The flowcharts show a logical order, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0031] figure 1 is a flowchart of a method for processing an access request according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0032] Step S102, receiving multiple access requests, where the access requests are used to access the storage bucket.

[0033] The access request in the above steps may be an operation requesting access to the object gateway, that is, the access request will access the storage bucket.

[0034] It should be noted that ...

Embodiment 2

[0084] According to an embodiment of the present invention, a device for processing an access request is provided, which can execute the method for processing an access request in the above embodiment. The specific implementation scheme and preferred application scenarios are the same as those in the above embodiment, and will not be repeated here.

[0085] image 3is a schematic diagram of an access request processing device according to an embodiment of the present invention, such as image 3 As shown, the device includes:

[0086] The receiving module 32 is configured to receive multiple access requests, where the access requests are used to access the storage bucket.

[0087] The caching module 34 is configured to sequentially store the access logs generated by each access request into the cache area, and perform merge processing.

[0088] The writing module 36 is configured to write the current merged result in the buffer into the corresponding log storage area accordin...

Embodiment 3

[0099] According to an embodiment of the present invention, a computer-readable storage medium is provided, and the computer-readable storage medium includes a stored program, wherein, when the program is running, the device where the computer-readable storage medium is located is controlled to execute the access request in Embodiment 1 above. Approach.

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 access request processing method and device. The method comprises the steps of receiving a plurality of access requests, wherein the access requests are used for accessing astorage bucket; sequentially storing access logs generated by each access request into a cache region, and carrying out merging processing; and writing the current merging result in the cache regioninto the corresponding log storage region according to a preset storage mode in the process of storing the generated access log into the cache region. The technical problem of performance reduction caused by consumption of a large amount of disk IO performance when access requests are frequent in a processing method of the access requests in related technologies is solved.

Description

technical field [0001] The invention relates to the field of databases, in particular to a method and device for processing an access request. Background technique [0002] In the distributed file system ceph, the current access request processing method is to obtain the relevant access information after a request accesses the storage bucket, generate a log object according to the unique ID and time of the storage bucket, and append the access information to the storage bucket. on the log object. The access information of the bucket in the same time period will be stored in the same log object. As time changes, access log information will be recorded on different log objects. [0003] However, the above method is that each request to access the object gateway in the same storage bucket will be appended to the same log object within a certain period of time, which will cause the IO queue to accumulate, and each request must be asynchronously appended once to cause IO Too m...

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): G06F16/13G06F16/16G06F16/17G06F16/172G06F16/18G06F16/182
CPCG06F16/137G06F16/162G06F16/172G06F16/1734G06F16/1815G06F16/182
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