Cached data replication for cache recovery
First Claim
1. Non-transitory computer storage having stored thereon instructions that, when executed by a computer system, cause the computer system to perform operations comprising:
- identifying, by a computing system, a subset of cached data in a caching structure, the caching structure residing in memory on the computing system;
storing the identified subset of the cached data in a snapshot file in a persistent storage, wherein in response to a restart of the computing system, data stored in the snapshot file can be loaded into the caching structure;
determining a percentage of cached data items stored in the snapshot file that exceed a measure of age; and
updating at least a portion of the data stored in the snapshot file in response to the percentage exceeding a threshold value.
0 Assignments
0 Petitions
Accused Products
Abstract
Processes are disclosed for embodiments of a caching system to utilize a snapshot file or other limited size data structure to store a portion of the data stored in a cache. The snapshot file can be stored on persistent or otherwise non-transitory storage so that, even in case of a restart, crash or power loss event, the data stored in the snapshot file persists and can be used by the caching system after starting up. The snapshot file can then be used to restore at least some data into the cache in cases where the cached data in the cache is lost. For example, in cases of a cold-start or restart, the caching system can load data from the snapshot file into the empty cache. This can increase the number of cache hits since the cache is repopulated with useful data at startup.
-
Citations
20 Claims
-
1. Non-transitory computer storage having stored thereon instructions that, when executed by a computer system, cause the computer system to perform operations comprising:
-
identifying, by a computing system, a subset of cached data in a caching structure, the caching structure residing in memory on the computing system; storing the identified subset of the cached data in a snapshot file in a persistent storage, wherein in response to a restart of the computing system, data stored in the snapshot file can be loaded into the caching structure; determining a percentage of cached data items stored in the snapshot file that exceed a measure of age; and updating at least a portion of the data stored in the snapshot file in response to the percentage exceeding a threshold value. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented method for managing cache recovery in a caching structure residing in memory of a computing system, the method comprising:
-
identifying a subset of cached data in the caching structure; storing the identified subset of the cached data in a snapshot file in a data repository separate from the memory of the computing system, wherein in response to a restart of the computing system, data stored in the snapshot file can be loaded into the caching structure; determining a percentage of cached data items stored in the snapshot file that exceed a measure of age; and updating at least a portion of the data stored in the snapshot file in response to the percentage exceeding a threshold value, wherein the method is implemented by a computing device under control of computer-executable code. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A system for cache recovery management, the system comprising:
-
computer memory for storing a caching structure, the caching structure including a plurality of entries for cached data; and one or more processors configured to; identify a subset of the cached data in the caching structure; store the identified subset of the cached data in a snapshot file in a persistent data storage, wherein in response to a restart of a computing system associated with the caching structure, data stored in the snapshot file can be loaded into the caching structure; determine a percentage of cached data items stored in the snapshot file that exceed a measure of age; and update at least a portion of the data stored in the snapshot file in response to the percentage exceeding a threshold value. - View Dependent Claims (17, 18, 19, 20)
-
Specification