Metadata Processing in Distributed File Systems
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In distributed file systems, the efficiency of metadata processing is compromised due to file attributes being stored across different nodes, leading to inefficiencies in subsequent metadata processing operations.
Innovation Solution
A metadata processing method where a management server ensures that file attributes of the same directory are stored on the same node, based on load conditions, allowing for distributed storage and improved locality, thereby enhancing processing efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If file attributes are distributed in different nodes for storage, then storage capacity is improved, but processing efficiency of metadata deteriorates
Solution Approach 1:
The patent segments metadata into two distinct parts: directory structure metadata stored in all nodes for high availability, and file attribute metadata stored distributed across nodes according to load conditions. This segmentation allows each part to be optimized independently - directory structure maintains fast access through replication while file attributes achieve efficient distributed storage and management.
2Adaptability or versatility
If file attributes of the same directory are stored in different nodes, then load balancing is improved, but access complexity increases
Solution Approach 1:
The patent introduces a metadata management system that acts as an intermediary between the distributed file attributes and access requests. This system maintains mapping relationships between directories and their file attributes, enabling unified access management without requiring applications to directly handle the complexity of distributed storage across multiple nodes.
3Speed
If directory structure is stored in all nodes, then access speed is improved, but storage redundancy increases
Solution Approach 1:
The patent applies local quality by storing directory structure metadata in all nodes to ensure fast local access and high availability, while file attribute metadata is stored in a distributed manner based on load conditions. This allows each node to have optimal local copies of directory structures for immediate access, while avoiding unnecessary redundancy of file attributes across all nodes.
Data Source
AI summary
Provided are a metadata processing method and apparatus, and a computer-readable storage medium. In the metadata processing method, a management server obtains metadata to be processed, wherein the metadata to be processed includes a directory structure and file attributes; and according to a load condition of at least one first node for storing the file attributes and based on a rule that file attributes of a same directory are stored in a same first node, the management server stores, in the at least one first node, the file attributes of directories in the directory structure in a distributed manner.


