Cross-Shard Read Request Management via Delayed Action Queue

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed systems face challenges in managing data accessibility and resource efficiency due to limited computing resources, where read requests are delayed by ongoing write processes, leading to reduced user experience and increased cognitive burden.

Innovation Solution

A data management system that employs a state model with writing, resolving, metadata update, and reading states, using a delayed action queue to manage cross-shard read requests, ensuring that read requests are processed in parallel with writes by transitioning them to a resolving state and converting them into read requests once the last delayed action is processed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If read requests are processed during ongoing write processes, then data consistency is compromised, but if read requests are delayed until writes complete, then user experience and system responsiveness deteriorate

Engineering Contradiction:
Improvedata consistencyVSAvoidread request delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the write operation into distinct phases (writing state, resolving state, metadata update state) and uses state machines to manage transitions. Read requests are routed to appropriate data versions based on the current write state, allowing concurrent access without compromising consistency. The delayed action queue segments read request handling into controlled batches that respect write operation boundaries.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a delayed action queue as an intermediary mechanism between read requests and the data storage system. This queue buffers read requests during critical write operations and releases them in an ordered manner after writes complete, mediating the conflict between immediate read access and write completion requirements while maintaining data consistency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If computing resources are allocated to handle both read and write requests simultaneously, then resource utilization improves, but system complexity and coordination overhead increase

Engineering Contradiction:
Improveresource utilizationVSAvoidsystem coordination complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent employs dynamic state machines that automatically transition between writing state, resolving state, and metadata update state based on operational context. This dynamic approach allows the system to adapt resource allocation and request handling strategies in real-time without manual intervention, optimizing productivity while managing complexity through automated state-driven logic.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes operational parameters (state transitions) to manage the complexity of simultaneous read-write operations. By defining specific states and transition conditions, the patent transforms a complex coordination problem into a manageable state machine model where resource allocation and request routing are determined by current system state rather than complex real-time negotiations.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If cross-shard read requests are processed immediately, then user experience improves, but data availability and consistency across distributed nodes cannot be ensured

Engineering Contradiction:
Improveuser experienceVSAvoiddata availability across nodes
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent performs preliminary actions by pre-processing and validating cross-shard read requests before they are fully executed. The delayed action queue pre-buffers these requests and performs preliminary checks to ensure data availability across nodes before committing to processing, thereby maintaining good user experience while ensuring reliability through advance validation.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11816088B2Method and system for managing cross data source data access requests
Publication Date: 2023.11.14 ANAPLAN INC
  • US11816088B2 patent drawing
  • US11816088B2 patent drawing
  • US11816088B2 patent drawing

AI summary

A node includes storage that stores a portion of high accessibility data corresponding to a shard that is divided into revisions. The portion of the high accessibility data is managed based on an activity state model including a writing state, a resolving state, a metadata update state, and a reading state. The node further includes a repository manager that obtains a cross-shard read request for the high accessibility data; makes a determination that the portion of the high accessibility data is not in the reading state; in response to the determination, adds the cross-shard read request to a delayed action queue at the revision of a last delayed action in the delayed action queue; and after processing the last delayed action in the delayed action queue and while in the resolving state: converts the cross-shard read request to a read request; and processes the read request.