Asynchronous Write-Back Caching with Tracking Metafile

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for write-back caching in clustered networks face performance limitations, such as small data thresholds for write operations and write-back messages, leading to increased write latency and decreased throughput, especially for large datasets, and challenges in maintaining data consistency across clusters during scenarios like shutdowns or reboots.

Innovation Solution

The implementation of techniques that enable write-back caching across clusters by managing cache thresholds, payload sizes, and asynchronous write-back operations, using a tracking metafile and asynchronous write-back tracker to optimize write performance and ensure data consistency, allowing for concurrent write-backs and efficient data transfer without interrupting cache writes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is written to the cache and completion is confirmed only after writing to the underlying data store (write-through policy), then data consistency is ensured, but write latency increases

Engineering Contradiction:
Improvedata consistencyVSAvoidwrite latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by writing data to the cache first and confirming completion before the underlying data store write occurs. The cache write is performed in advance, and the system confirms completion at this earlier stage rather than waiting for the slower underlying storage operation to finish, thereby reducing write latency while maintaining data consistency through subsequent write-back operations.

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If data is written to the cache with immediate completion confirmation (write-back policy), then write latency is reduced, but data consistency across clusters during shutdowns or reboots becomes challenging

Engineering Contradiction:
Improvewrite latencyVSAvoiddata consistency
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent implements feedback mechanisms through tracking metafiles and asynchronous write-back trackers that monitor the state of cached data and coordinate write-back operations across clusters. These feedback systems track which data has been written to the cache, manage the asynchronous write-back process, and ensure that data consistency is maintained across distributed clusters even during shutdowns or reboots by providing visibility into the write state.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent introduces intermediaries in the form of tracking metafiles and asynchronous write-back trackers that mediate between the cache and underlying data stores across clusters. These intermediaries coordinate the asynchronous write-back operations, manage data state information, and ensure consistency is maintained across distributed systems without requiring synchronous communication, thereby solving the data consistency challenge in write-back caching across clusters.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Device complexity

If small data thresholds are used for write operations and write-back messages in clustered networks, then device complexity is reduced, but throughput decreases for large datasets

Engineering Contradiction:
Improvesimplicity of write operationsVSAvoidthroughput
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent applies segmentation by dividing large datasets into manageable segments that can be processed through the caching system. The tracking metafile and asynchronous write-back mechanism enable efficient handling of segmented data by tracking individual segments or blocks independently, allowing the system to maintain simplicity in operation while achieving high throughput for large datasets through parallel processing of multiple segments.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20240330184A1Write-Back Caching with Asynchronous Write-Back Capabilities
Publication Date: 2024.10.03 NETAPP INC
  • US20240330184A1 patent drawing
  • US20240330184A1 patent drawing
  • US20240330184A1 patent drawing

AI summary

A method, computing device, and non-transitory machine-readable medium for performing asynchronous write-backs. Data is written to a cache file in a cache. The cache corresponds to a volume. A tracking metafile is updated based on the data written to the cache file. A record in the tracking metafile is determined to be full. The record corresponds to a group of blocks in the cache file. A write-back of data stored in the group of blocks in the cache file that corresponds to the record to the volume is initiated. The write-back is determined to have been completed. The tracking metafile us updated to indicate that the write-back has been completed.