Method and apparatus for improving file access performance of distributed storage system
First Claim
1. A system for providing access to files in a distributed storage system, the system comprising:
- a plurality of storage nodes and at least one computer device connected via a network;
wherein each storage node is configured, upon receiving a file access request for a file from one of the at least one computer device as a receiver storage node, to determine whether or not to inform the computer device making the file access request to redirect the file access request to an owner storage node of the file according to a preset policy;
wherein the preset policy defines conditions for whether to redirect the file access request based on at least one of file type or file size of the file; and
wherein the receiver storage node is configured, in not redirecting the file access request to the owner storage node, to read the file from the owner storage node and send the read file to the computer device making the file access request.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention provide methods and apparatus for improving the performance of file transfer to a client from a distributed storage system which provides single name space to clients. In one embodiment, a system for providing access to files in a distributed storage system comprises a plurality of storage nodes and at least one computer device connected via a network. Each storage node is configured, upon receiving a file access request for a file from one of the at least one computer device as a receiver storage node, to determine whether or not to inform the computer device making the file access request to redirect the file access request to an owner storage node of the file according to a preset policy. The preset policy defines conditions for whether to redirect the file access request based on at least one of file type or file size of the file.
-
Citations
20 Claims
-
1. A system for providing access to files in a distributed storage system, the system comprising:
-
a plurality of storage nodes and at least one computer device connected via a network; wherein each storage node is configured, upon receiving a file access request for a file from one of the at least one computer device as a receiver storage node, to determine whether or not to inform the computer device making the file access request to redirect the file access request to an owner storage node of the file according to a preset policy; wherein the preset policy defines conditions for whether to redirect the file access request based on at least one of file type or file size of the file; and wherein the receiver storage node is configured, in not redirecting the file access request to the owner storage node, to read the file from the owner storage node and send the read file to the computer device making the file access request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20)
-
-
12. In a system having a distributed storage system and at least one computer device connected via a network, a method of providing access to files in a plurality of storage nodes in the distributed storage system, the method comprising:
-
upon receiving a file access request for a file from one of the at least one computer device, determining whether or not to inform the computer device making the file access request to redirect the file access request to an owner storage node of the file according to a preset policy; wherein the preset policy defines conditions for whether to redirect the file access request based on at least one of file type or file size of the file; and wherein determining whether or not to inform the computer device making the file access request to redirect the file access request to the owner storage node comprises looking up a redirection flag for the file, the redirection flag specifying, for each file stored in the storage nodes, whether a file access request for the file associated therewith is to be redirected. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
-
19. A system for providing access to files in a distributed storage system, the system comprising:
-
a plurality of storage nodes and at least one computer device connected via a network; wherein each storage node is configured, upon receiving a file access request for a file from one of the at least one computer device as a receiver storage node, to determine whether or not to inform the computer device making the file access request to redirect the file access request to an owner storage node of the file according to a preset policy; wherein the preset policy defines conditions for whether to redirect the file access request based on at least one of file type or file size of the file; and wherein each storage node is configured, upon receiving a migration request to migrate a file to a destination storage node, to extract an external path of the file to be migrated, read the file from an origination storage node, send an internal write request which includes the file and the external path of the file to the destination storage node, delete the migrated file from the origination storage node, and update a location record of the migrated file within the distributed storage system.
-
Specification