Cache Reheat via Snapshot Index and Data Refresh

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data storage systems face performance degradation and data corruption issues during system resets or power losses due to the loss of cache contents, as restoring stale snapshots can lead to loading outdated data, causing performance penalties and potential data corruption.

Innovation Solution

A method involving periodic storage of a snapshot index identifying cache contents, allowing for rapid cache reheat by retrieving and updating data from storage locations identified in the index, ensuring only up-to-date data is loaded into the cache upon system restart, thereby avoiding cache miss penalties and maintaining performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the cache is restored using a periodic snapshot, then the cache can be recovered after system reset, but the data may be stale and cause performance degradation

Engineering Contradiction:
Improvecache recoveryVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs preliminary actions by continuously updating the snapshot of cache contents in the background before a reset occurs. This ensures that when recovery is needed, the most recent snapshot is already available, eliminating the need to rebuild the cache from scratch after reset and avoiding performance degradation from stale data.

Inventive Principle:
Principle #10Preliminary action

2Speed

If the cache contents are not persisted, then the system can restart quickly, but the cache must be repopulated causing cache misses and performance loss

Engineering Contradiction:
Improverestart speedVSAvoidcache hit rate
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The system creates a copy of the cache contents snapshot and stores it separately in persistent storage. This copy can be quickly restored after reset without affecting the speed of restart, while simultaneously preserving the cache hit rate by repopulating the cache with the stored snapshot data.

Inventive Principle:
Principle #26Copying

3Reliability

If the entire cache is restored from snapshot, then all cached data is recovered, but outdated data may be loaded causing data corruption

Engineering Contradiction:
Improvedata completenessVSAvoiddata freshness
Core Design Contradiction:
ReliabilityVSManufacturing precision

Solution Approach 1:

The system dynamically updates the snapshot of cache contents at periodic intervals, making the snapshot a living, evolving representation of cache state. This dynamic approach ensures that the snapshot reflects current data while allowing selective restoration, preventing data corruption by ensuring the snapshot is continuously synchronized with the actual cache contents.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10922225B2Fast cache reheat
Publication Date: 2021.02.16 STORCENTRIC DIP LENDER LLC
  • US10922225B2 patent drawing
  • US10922225B2 patent drawing
  • US10922225B2 patent drawing

AI summary

Embodiments of the present invention allow for fast cache reheat by periodically storing a snapshot of information identifying the contents of the cache at the time of the snapshot, and then using the information from the last snapshot to restore the contents of the cache following an event that causes loss or corruption of cache contents such as a loss of power or system reset. Since there can be a time gap between the taking of a snapshot and such an event, the actual contents of the cache, and hence the corresponding data stored in a data store, may have changed since the last snapshot was taken. Thus, the information stored at the last snapshot is used to retrieve current data from the data store for use in restoring the contents of the cache.