Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for balancing metadata cluster load

A metadata and metadata node technology, applied in the field of data processing, can solve the problems of becoming a hot metadata node, unbalanced metadata cluster load, and overall performance of the file system, so as to achieve load, improve performance, and improve cluster performance. performance effect

Inactive Publication Date: 2017-06-13
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, if multiple users access the files under this metadata node at the same time, the popularity of this metadata node will continue to increase. If you create a new subdirectory under the hot directory under this metadata node, the load on this metadata node will be caused. The overall metadata cluster performance degrades when the load is extremely unbalanced with other metadata nodes, for example, as in figure 1 In the directory structure diagram of the existing mechanism shown, there are three metadata nodes in total, which are metadata node No. 0, metadata node No. 1, and metadata node No. 2. When creating subdirectories / subfiles of A, B, and C When , it is still created under the metadata nodes where A, B, and C are located. If the number of accesses to directory a increases at a certain time, metadata node 0 will become a hot metadata node
[0004] After research, the inventor found that in the prior art, the method to solve the extremely unbalanced load of metadata nodes is to separate the hot directories in the hot metadata nodes by manually executing commands, for example, as figure 1 As shown, the existing technical method is to distribute the directory aa to the No. 1 metadata node or the No. 2 metadata node with a lower heat value, so as to reduce the pressure on the No. 0 metadata node, but the existing technology is in After the metadata node becomes a hotspot metadata node, the solution is implemented. The load imbalance of the metadata cluster and the overall performance of the file system have already appeared.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for balancing metadata cluster load
  • Method and apparatus for balancing metadata cluster load
  • Method and apparatus for balancing metadata cluster load

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0039] After research, the inventor found that, in the prior art, the method to solve the extremely unbalanced load of metadata nodes is to separate the hot directories in the hot metadata nodes by manually executing commands, but the prior art is in the meta After the data node becomes a hot metadata node, the solution is implemented, and the ov...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method for balancing the metadata cluster load. The method comprises the following steps: receiving a new catalogue creation request sent by a client; obtaining heat values of all metadata nodes in a cluster; determining the metadata node having the minimum heat value as the allocated metadata node; and creating a new catalogue under the allocated metadata node. Therefore, according to the method disclosed by the invention, the heat values of all metadata nodes are obtained, the metadata node having the minimum heat value is selected to create the new catalogue, thereby preventing the metadata node from becoming the hotspot metadata node in advance, balancing the metadata cluster load and improving the cluster performance, and then the performance of the whole file system is improved. In addition, the invention further discloses a system for balancing the metadata cluster load.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for balancing metadata cluster loads. Background technique [0002] The file system refers to the software mechanism responsible for managing and storing file information in the operating system, which is called the file management system. The existing file system can be mainly divided into two parts: metadata management and data management. Metadata is the data describing the data, mainly the information describing the attributes of the data. Metadata is an electronic catalog. In order to achieve the purpose of cataloging, The content or characteristics of the data must be described and collected to achieve the purpose of assisting data retrieval. According to statistics, it is found that more than 50% of all requests in the file system are requests for metadata. Therefore, the performance of the entire file system can be improved by improving the pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08G06F17/30
CPCG06F16/164G06F16/183H04L67/1001
Inventor 程瑶
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD