Distributed Key-Value Metadata File System

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing distributed file-systems face scalability, performance, and fault tolerance limitations due to reliance on a single-master design for metadata management, which becomes inefficient with large datasets and real-time, low-latency requirements.

Innovation Solution

A distributed file-system architecture that uses a distributed key-value store to store metadata, employing unique inode numbers and composite row keys for files and directories, allowing for atomic operations and scalable storage across multiple servers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a single-master design is used for metadata management, then file-system operations can be processed centrally, but scalability and performance deteriorate as the system grows to handle large datasets

Engineering Contradiction:
Improvefile-system operation throughputVSAvoidmetadata storage architecture
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the centralized metadata storage into distributed key-value stores across multiple servers. Each server maintains a portion of the metadata namespace, eliminating the single-master bottleneck. The segmentation is achieved through namespace partitioning where different servers handle different ranges or types of metadata keys, allowing parallel processing of file-system operations across the distributed cluster.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If metadata is distributed across multiple servers, then scalability improves, but maintaining atomicity and consistency becomes more difficult

Engineering Contradiction:
Improvesystem scalabilityVSAvoidmetadata atomicity and consistency
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent introduces an intermediary layer of distributed consensus protocols and coordination mechanisms between the distributed key-value stores. This intermediary ensures that operations spanning multiple servers maintain atomicity through coordinated transactions, while consistency is enforced through versioning schemes and conflict resolution protocols. The intermediary abstracts the complexity of distributed coordination from the file-system operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the operational parameters of the distributed key-value stores to optimize for both scalability and consistency. This includes adjusting replication factors, consistency levels, and transaction timeout parameters to balance between performance and reliability. The system dynamically adjusts these parameters based on workload characteristics to maintain atomicity while scaling across servers.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If a single-master stores all file metadata, then consistency is maintained, but storage capacity and performance are limited by the single machine's resources

Engineering Contradiction:
Improvemetadata consistencyVSAvoidmetadata storage capacity
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent transitions from a single-dimension centralized metadata storage model to a multi-dimensional distributed architecture. Metadata is distributed across multiple servers in a hierarchical namespace structure, adding spatial distribution as a new dimension. This dimensional change allows the system to scale storage capacity linearly with the number of servers while maintaining consistency through the hierarchical namespace organization and distributed consensus protocols.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS9922046B2Scalable distributed metadata file-system using key-value stores
Publication Date: 2018.03.20 TPK INVESTMENTS LLC
  • US9922046B2 patent drawing
  • US9922046B2 patent drawing
  • US9922046B2 patent drawing

AI summary

A computer-implemented distributed file-system in a distributed data network in which metadata related to the files and directories of the file-system is distributed. A unique and non-reusable inode number is assigned to each file/directory of the file-system. A key-value store built up in rows is created for the distributed metadata. Each of the rows has a composite row key and a row value (key-value pair) where the composite row key for each file/directory includes the inode number of the parent directory, and a name of the file/directory. For files below the maximum file size, the entire file or portion thereof is encoded in the corresponding row value of the key-value pair. In this case, the corresponding composite row key holds the inode number of the file itself and an offset information of the data of the file in the row value. Files above maximum file size are stored in a large-scale storage.