Directed Graph Consistency Verification for Read Write Operations
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Systems that access a common dataset for reading and writing may experience inconsistencies, where a read operation does not return the most recently written value, and advertised data consistency levels may not match actual system performance.
Innovation Solution
A system comprising trace software to monitor and record read and write operations, and consistency level check software to analyze a directed graph constructed from these operations, determining if the system achieves safe, regular, or atomic consistency levels by identifying cycles and data precedence.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If multiple processes access a common dataset concurrently for reading and writing, then system productivity and data access efficiency are improved, but data consistency reliability deteriorates as read operations may not return the most recently written value
Solution Approach 1:
The patent implements feedback mechanisms by monitoring read and write operations and using this information to determine consistency levels. The system tracks operation sequences and uses this feedback to verify whether consistency guarantees are being met, allowing dynamic adjustment and verification of consistency behavior without sacrificing concurrent access performance
Solution Approach 2:
The patent introduces an intermediary consistency level determination mechanism that acts as a mediator between multiple processes and the common dataset. This intermediary monitors operations and determines whether consistency requirements are satisfied, providing a layer of verification that ensures reliability without preventing concurrent access
2Reliability
If the system monitors and analyzes all read/write operations to verify consistency levels, then data consistency reliability is improved, but device complexity increases due to trace software and graph analysis requirements
Solution Approach 1:
The patent creates a simplified copy or representation of the operation sequence in the form of a directed graph. Instead of analyzing the complex raw operation data directly, the system copies the essential relationships into a graph structure where nodes represent operations and edges represent temporal or data dependencies, making consistency analysis more manageable and systematic
Solution Approach 2:
The patent segments the monitoring and verification process into distinct components: trace software that collects operations, graph construction that organizes operations, and cycle detection that verifies consistency. This segmentation divides the complex verification task into manageable pieces, reducing overall system complexity while maintaining reliable consistency checking
Data Source
AI summary
A system comprises a processor and storage containing software executable by the processor. The storage also contains a trace log that contains information pertaining to read and write operations and, for each read and write operation, the information is indicative of a start time, a completion time, and a value targeted by the read or write operation, Based on the trace log, the software causes the processor to construct a directed graph comprising nodes as well as edges interconnecting at least some of the nodes, each node representing a read or write operation and determine whether the constructed directed graph has a cycle. At least one edge is at least one of a data edge representing a data precedence between operations and a time edge representing a time precedence between operations, and at least one edge is a hybrid edge representing both time and data precedence between operations.


