×

System and method for distributing and accessing files in a distributed storage system

  • US 8,290,919 B1
  • Filed: 08/27/2010
  • Issued: 10/16/2012
  • Est. Priority Date: 08/27/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for accessing files that are distributed across multiple storage nodes in a distributed storage system, the method comprising:

  • receiving an access request identifying a first distributed file having an associated filename;

    determining, based on the filename, a bucket identifier corresponding to a first one of a plurality of buckets that contains the first distributed file, comprising;

    upon determining that the filename is not associated with a predefined hash code;

    computing a hash code using the filename; and

    extracting the bucket identifier from a bit field of the computed hash code,wherein each of the plurality of buckets maps to a respective one or more of a plurality of partitions containing the distributed files, andwherein each of the plurality of partitions is stored across a respective one or more of the multiple storage nodes in the distributed storage system;

    determining a first one or more partitions from the plurality of partitions that the first bucket maps to, wherein at least one of the first one or more partitions contains the first distributed file;

    determining, based on a mapping of the first one or more partitions to the one or more storage nodes, a first storage node that stores the first distributed file; and

    dispatching a request to the first storage node to access the first distributed file.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×