A method, device and medium for diluting cache space

A cache space and cache technology, applied in the input/output process of data processing, instruments, input/output to record carriers, etc., can solve problems such as cache avalanche, data failure, cache data expiration, etc., to avoid downtime events, Reduce the effect of data avalanche phenomenon

Active Publication Date: 2022-07-26
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the era of big data, the speed of data processing in production is becoming more and more stringent. In addition to the improvement of the engine, caching technology is undoubtedly being valued by more and more people. Interaction speed, but the cache cannot be used as a persistent disk after all, so there is a process of data expiration in the cache
Existing data expiration and cleanup strategies linearly invalidate data, which can easily cause cache avalanche

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, device and medium for diluting cache space
  • A method, device and medium for diluting cache space
  • A method, device and medium for diluting cache space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings.

[0046] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities with the same name but not the same or non-identical parameters. It can be seen that "first" and "second" It is only for the convenience of expression and should not be construed as a limitation on the embodiments of the present invention, and subsequent embodiments will not describe them one by one.

[0047] In the embodiment of the present invention, when the data needs to be cached, the data is cached through the cache space, and each batch (for example, according to the time range, for example, the data within 5s) is sent to the ...

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 diluting cache space, comprising: in response to triggering to dilute the cache space, performing data deletion on the queue with the largest length in the cache space at a preset initial speed; in response to performing data deletion on the queue with the largest length The length of the queue is equal to the length of several queues in the cache space, triggering data deletion of several queues; using the number of all queues that trigger data deletion and the preset initial speed to calculate the apportionment speed; Data deletion is performed on the queues for data deletion; in response to the length of all queues for data deletion reaching the same length as the lengths of several other queues in the cache space, data deletion is triggered for several other queues, and the step of calculating the apportionment speed is returned; In response to triggering to stop thinning the cache space, the data deletion process is suspended. The invention also discloses a computer device and a medium.

Description

technical field [0001] The present invention relates to the field of cache, in particular to a method, device and storage medium for diluting cache space. Background technique [0002] In the era of big data, the speed of data processing in production is becoming more and more demanding. In addition to the improvement in the engine, the caching technology is undoubtedly being valued by more and more people. The development of caching technology has greatly improved the data processing. However, the cache cannot be used as a persistent disk after all, so there is a process of data expiration in the cache. Existing data expiration and cleaning strategies are all linear to invalidate data, which can easily cause cache avalanches. SUMMARY OF THE INVENTION [0003] In view of this, in order to overcome at least one aspect of the above problem, an embodiment of the present invention provides a method for diluting cache space, including the following steps: [0004] In response...

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/0604G06F3/0641G06F3/0671G06F3/0659G06F3/0673G06F3/0617G06F3/061G06F3/0652
Inventor 丁增强袁博
Owner INSPUR SUZHOU INTELLIGENT TECH CO 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