Cache System Copying with Tracking Queue for Data Integrity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current cache memory systems face challenges in efficiently managing and duplicating cache content across machines, particularly in maintaining data integrity and performance during machine shutdown or service migration, especially when using electro-mechanical storage devices.
Innovation Solution
A method and system for copying a cache system from one machine to another, including cache content and a content directory, with features like data request tracking and validation, allowing for machine shutdown and service migration while ensuring data consistency and performance by utilizing flash memory cache systems and electro-mechanical storage devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a cache system is copied from one machine to another during service migration, then service continuity and data availability are improved, but data integrity and consistency may deteriorate due to ongoing data requests and changes during the copying process
Solution Approach 1:
The system takes a snapshot of the cache content before copying begins, establishing a baseline state. This preliminary action allows the system to capture the cache state at a specific moment while still permitting ongoing operations, thereby maintaining service continuity without compromising the integrity of the copied data.
Solution Approach 2:
The patent replaces traditional file-based copying mechanisms with memory-based snapshot and restore functionality. By using memory snapshot and memory restore operations, the system can copy cache content without the mechanical constraints of traditional file systems, enabling atomic copy operations that maintain data integrity while allowing the service to continue running.
2Productivity
If data requests are processed during cache system copying, then service availability is maintained, but copying performance and completion time may worsen due to resource contention
Solution Approach 1:
The copying process is segmented into distinct phases: snapshot acquisition, copy operation, and restore. This segmentation allows data requests to be handled appropriately in each phase - during snapshot acquisition, requests continue normally; during the actual copy operation, the system can optimize resource allocation; and during restore, the system ensures consistency. This segmentation reduces resource contention and maintains service availability while improving copying efficiency.
3Ease of manufacture
If traditional copying methods are used for cache systems, then implementation simplicity is maintained, but data consistency and performance during migration worsen due to lack of atomic operations and error handling
Solution Approach 1:
The system uses memory snapshot and memory restore functionalities to create accurate copies of the cache content. This copying mechanism ensures that the entire cache state is captured atomically and restored completely, maintaining data consistency without requiring complex manual intervention. The snapshot/restore approach simplifies the implementation while ensuring reliability through built-in consistency guarantees.
Data Source
AI summary
A method, computer program product, and computing system for copying a cache system from a first machine to a second machine, wherein the cache system includes cache content and a content directory, thus generating a duplicate cache system on the second machine. The duplicate cache system includes duplicate cache content and a duplicate content directory. A plurality of data requests concerning a plurality of data actions to be taken on a data array associated with the first machine are received on the first machine. The plurality of data requests are stored on a tracking queue included within the data array associated with the first machine.


