Separate Read Write Cache Segmentation for Data Loss Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing storage systems do not adequately differentiate between the reliability requirements of read and write caches, leading to potential data loss when failures occur, as they share the same medium for data read/write operations.
Innovation Solution
Implementing separate caches for read and write data, where the write cache uses two high-speed storage units with a predetermined failure handling time difference and the read cache uses one high-speed unit with intermediate remaining writable times, to minimize data loss by distinguishing between the reliability needs of each cache type.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If separate read cache and write cache are implemented, then response performance and failure resistance are improved, but device complexity increases
Solution Approach 1:
The cache memory is segmented into distinct read cache and write cache regions with different reliability requirements. The write cache is further divided into multiple write cache areas with staggered failure times, allowing the system to handle failures in different cache regions independently while maintaining overall system reliability.
Solution Approach 2:
Different regions of the cache memory are assigned different quality levels based on their functional requirements. The write cache areas are configured with varying remaining writable times and failure characteristics, allowing the system to optimize for data integrity in critical regions while accepting higher risk in less critical regions.
2Reliability
If multiple write cache areas with different failure times are used, then data loss probability is reduced, but cache management complexity increases
Solution Approach 1:
The system proactively monitors the remaining writable times of different write cache areas and identifies exchange candidate areas before failures occur. By predicting failure times and preparing replacement strategies in advance, the system can swap out aging cache areas before they fail, preventing data loss without requiring complex real-time intervention when failures occur.
Solution Approach 2:
The system continuously monitors the state of write cache areas including remaining writable times and failure patterns. This feedback information is used to dynamically adjust cache management strategies, identify exchange candidates, and optimize the timing of cache area swaps to minimize data loss risk while managing complexity through automated decision-making.
Data Source
AI summary
Provided is a cache device which can minimize probability of data loss in a storage device in which write data and read data are separately cached.The cache device includes a write cache including a first storing unit that temporarily stores write data to be written in external storage devices and is predicted that a failure occurs at the first time and a second storing unit that temporarily stores the write data and is predicted that a failure occurs at the second time being later than the first time by a predetermined failure handling time or more, and a read cache including a third storing unit that temporarily stores read data to be read from the external storage devices.


