File System Replication via Action Buffering and Dependency Scheduling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Managing replication lag times and resources in geo-distributed data centers with large network latencies and file sizes is challenging due to the need for efficient file system replication across multiple locations.

Innovation Solution

A method and system for managing file system replication by collecting event data, generating file system actions, storing them in an action buffer, identifying dependencies, and scheduling actions for execution, which includes monitoring content data modifications to replicate new chunks of modified data in defined sizes, allowing for early start replication and improved resource utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If files are replicated across geo-distributed data centers, then file availability and redundancy are improved, but replication lag times increase due to large network latencies

Engineering Contradiction:
Improvefile availabilityVSAvoidreplication lag time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides files into smaller chunks and replicates them independently. This segmentation allows partial replication of files to proceed asynchronously, reducing the overall replication lag time while maintaining file availability. The system can replicate available chunks without waiting for the entire file to be ready.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by pre-computing file chunks and preparing them for replication before they are fully needed. Event data is collected and actions are generated in advance, allowing the replication process to start earlier and reduce lag times.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If large files are replicated across multiple data centers, then data redundancy is improved, but resource consumption increases due to large file sizes

Engineering Contradiction:
Improvedata redundancyVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

Large files are segmented into smaller chunks that can be replicated independently. This reduces the memory and processing resources required at any given time, as the system only needs to handle one chunk at a time rather than the entire file, thereby reducing resource consumption while maintaining redundancy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs partial replication by copying only the necessary chunks of files rather than requiring complete file replication before considering the operation successful. This partial action approach reduces the total resource consumption while still achieving the desired redundancy level.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If file replication is performed synchronously, then data consistency is improved, but replication speed decreases due to waiting for confirmation

Engineering Contradiction:
Improvedata consistencyVSAvoidreplication speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system generates replication actions and buffers them in advance based on event data, performing preliminary preparation work before actual replication. This allows the replication process to start immediately when resources are available, improving speed while maintaining consistency through the scheduled execution of pre-planned actions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

An action buffer serves as an intermediary between event detection and actual replication execution. This mediator allows the system to decouple the consistency requirements from the replication speed, enabling asynchronous execution of replication actions while maintaining data consistency through proper scheduling and dependency management.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Productivity

If all file system actions are executed immediately, then replication speed is improved, but system stability decreases due to action dependencies

Engineering Contradiction:
Improvereplication speedVSAvoidsystem stability
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The system performs preliminary analysis of action dependencies and schedules replication actions in the correct order. By pre-computing the execution sequence based on dependencies, the system can execute actions as quickly as possible while maintaining stability through proper ordering, rather than executing all actions immediately or waiting for a fixed schedule.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP3535955B1Systems, devices and methods for managing file system replication
Publication Date: 2020.12.02 HUAWEI TECH CO LTD
  • EP3535955B1 patent drawingFigure 1
  • EP3535955B1 patent drawingFigure 2
  • EP3535955B1 patent drawingFigure 3

AI summary

A method for managing file system replication can include: collecting event data associated with file system events, each of the file system events indicative of a modification of at least one file at a first file system location; for each of the file system events, generating at least one file system action to apply the modification of the at least one file at the first file system location to at least one corresponding file at a second file system location; storing the at least one generated file system action in an action buffer; identifying dependencies between file system actions in the action buffer; and scheduling the file system actions in the action buffer for execution based on the dependencies.