Method and equipment for diluting cache space and medium

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: 2020-10-02
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 2 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
  • Method and equipment for diluting cache space and medium
  • Method and equipment for diluting cache space and medium
  • Method and equipment for diluting cache space and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0046] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "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, which will not be described one by one in the subsequent embodiments.

[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, such as data within 5s) is sent to the cache space as a unit, ...

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 a cache space. The method comprises: in response to triggering, diluting the cache space, and performing data deletion on a queue with the maximum lengthin the cache space at a preset initial speed; in response to the fact that the length of the queue with the largest length for data deletion is equal to the lengths of the queues in the cache space, triggering the queues to perform data deletion; calculating an apportioning speed by utilizing the number of queues deleted by all triggering data and a preset initial speed; performing data deletion on each queue triggering data deletion at a uniform spreading speed; in response to the fact that the lengths of all the queues for data deletion are equal to the lengths of the other queues in the cache space, triggering the other queues to perform data deletion, and returning to the step of calculating the allocation speed; and stopping diluting the cache space in response to triggering, and suspending the data deleting process. The invention further discloses computer equipment and a medium.

Description

technical field [0001] The present invention relates to the cache field, 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 stringent. In addition to the improvement of the engine, caching technology has undoubtedly been valued by more and more people. The development of caching technology has greatly improved the data processing speed. 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 cleaning strategies all invalidate data linearly, which can easily cause cache avalanche phenomenon. Contents of the invention [0003] In view of this, in order to overcome at least one aspect of the above problems, an embodiment of the present invention proposes a method for diluting cache space, including the following steps: ...

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