File Locality Detection via Virtual Extended Attributes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional map/reduce-based applications rely on centralized metadata servers to determine file locality, which can become a bottleneck and single point of failure in distributed file systems.

Innovation Solution

Implementing a method that uses virtual extended attributes in a file system to store and query the physical location of files, allowing applications to identify and process files without relying on metadata servers by utilizing a physical location client module and server module that convert path names into host and directory names using a consistent hash algorithm.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a centralized metadata server is used to determine file location, then file locality information can be provided to applications, but the system becomes vulnerable to single point of failure and network bottlenecks

Engineering Contradiction:
Improvesystem reliabilityVSAvoiddependency on centralized server
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the file location information from the centralized metadata server and embeds it directly into the file system structure through extended attributes. This eliminates the dependency on the centralized server for location queries while maintaining the ability to provide accurate file locality information to applications.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces extended attributes as an intermediary mechanism between the file system and applications. These attributes store location information directly within the file system structure, serving as a distributed alternative to the centralized metadata server and enabling applications to access file location data without relying on a single point of failure.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If queries are sent to centralized metadata server to get file location, then accurate file locality information is obtained, but network traffic increases and processing time increases

Engineering Contradiction:
Improvefile location accuracyVSAvoidquery processing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent implements preliminary action by pre-storing file location information in extended attributes when files are written to the file system. This eliminates the need for real-time queries to a centralized server, as the location data is already available locally in the file system structure, significantly reducing query processing time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The file system itself provides file location information through its extended attributes mechanism, eliminating the need for applications to query an external centralized metadata server. The file system serves its own location querying needs internally, reducing network traffic and processing time.

Inventive Principle:
Principle #25Self-service

3Ease of operation

If centralized metadata server is used, then file location information is centralized and easy to manage, but it creates a single point of failure and bottleneck

Engineering Contradiction:
Improvelocation information managementVSAvoidcentralized server dependency
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent applies segmentation by distributing the file location information storage across multiple file systems rather than centralizing it in a single metadata server. Each file system maintains its own extended attributes, creating a distributed architecture that eliminates the single point of failure while maintaining ease of operation through standardized attribute access mechanisms.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10169348B2Using a file path to determine file locality for applications
Publication Date: 2019.01.01 RED HAT INC
  • US10169348B2 patent drawing
  • US10169348B2 patent drawing
  • US10169348B2 patent drawing

AI summary

A processing device identifies a path name of a file that is stored in a file system and sends an extended attribute request comprising the path name to a server computer system to identify a physical location of the file in the file system. The file system includes a virtual extended attributes that identify the physical location of the file that corresponds to the path name in the request. The processing device receives a response from the server computer system indicating the physical location of the file in the file system.