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

Cache management method and apparatus

A cache management and caching technology, applied in the storage field, can solve problems such as system processing speed drop, cache avalanche, etc., and achieve the effect of reducing the probability of cache avalanche

Active Publication Date: 2016-03-16
ADVANCED NEW TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the cache fails, the cache can be rebuilt, but if there are a large number of access requests before the cache is rebuilt, there will be a large number of repeated operations and IO access, which is likely to trigger a cache avalanche, resulting in a significant processing speed of the system using caching technology. decline

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
  • Cache management method and apparatus
  • Cache management method and apparatus
  • Cache management method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0038] In an optional implementation manner, an implementation manner of determining a target cache from at least one cache includes:

[0039] Determine at least one candidate cache from at least one cache according to the access heat of each cache and the remaining life time of each cache, wherein the remaining life time of each cache refers to the current time distance from the failure of the current life cycle of each cache A time interval of time; from at least one candidate cache, determine a target cache.

[0040] Specifically, the cache management device may, according to the access heat of each cache and the remaining life time of each cache, determine from at least one cache the cache whose remaining life time is less than a preset time threshold and whose access heat is greater than or equal to a preset heat threshold as candidate cache. Wherein, there may be one or more candidate caches.

[0041] After obtaining the candidate caches, the cache management device ma...

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 provides a cache management method and apparatus. The method comprises: obtaining the access frequency of each cache in at least one cache; according to the access frequency of each cache, determining a target cache from the at least one cache; and before the target cache is invalid, performing refreshing operation on the target cache. According to the cache management method and apparatus, the processing capability of the caches can be improved and the probability of cache avalanche can be reduced.

Description

【Technical field】 [0001] The present invention relates to the field of storage technologies, in particular to a cache management method and device. 【Background technique】 [0002] The caching technology can largely avoid repeated calculations and repeated IO access to the database (abbreviated as IO access), so the processing speed can be greatly improved. At present, various systems use a large number of caches to improve data access speed. [0003] When using cache, the system using cache technology will set the effective time of cache, such as half an hour. Before the cache is invalidated, the system can hit the cache and quickly return the hit result. When the cache fails, the system fails to hit the cache, and will re-perform operations and IO access. [0004] When the cache fails, the cache can be rebuilt, but if there are a large number of access requests before the cache is rebuilt, there will be a large number of repeated operations and IO access, which is likely...

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): G06F13/16
Inventor 徐会卿张翔
Owner ADVANCED NEW TECH CO LTD