IP Library Granted Patent US 9,529,540
Granted Patent B1
US 9,529,540 · App. 14/950,461 · Granted Dec 27, 2016

Redistributing data in a distributed storage system based on attributes of the data

Inventors: Silvius V. Rus (Orinda, CA); Michael Ovsiannikov (Saratoga, CA)
Assignee: Quantcast Corporation
G06F3/0619G06F3/067G06F3/0665
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,529,540
App. No.
14/950,461
Granted
Dec 27, 2016
Kind
B1
Abstract

Accesses to a number of data blocks stored in a distributed storage are observed. Following observation of the accesses, the stored data blocks are redistributed. In one aspect, redistribution of the data blocks includes determining the access patterns for one or more of the data blocks based on the observed accesses, and determining the storage sizes for the one or more data blocks. Thereafter, based on the determined access patterns and determined storage sizes, the one or more data blocks are sorted. Subsequently, the one or more data blocks are redistributed or rebalanced across a number of storage devices of the distributed storage based on the sorting. In one aspect, the one or more data blocks are redistributed according to either a uniform distribution scheme or a proportional distribution scheme.

Claims (50)

1. A method comprising:

sorting a plurality of data blocks based at least in part on an access pattern and a size corresponding to respective data blocks of the plurality of data blocks, the sorting comprising:

assigning the plurality of data blocks to a plurality of buckets, each bucket associated with a particular respective access pattern level and respective data block storage size requirement, wherein assigning the plurality of data blocks to the plurality of buckets comprises:

matching an access pattern and a storage size of a particular data block to an access pattern level and a data block storage requirement of a particular bucket from the plurality of buckets; and

assigning the particular data block to the particular bucket based on the matching; and

redistributing the plurality of data blocks across a plurality of storage devices of a distributed storage based on the sorting of the plurality of data blocks, the redistributing comprising:

determining a total number of data blocks assigned to a particular bucket from the plurality of buckets;

calculating a target number of data blocks for each of the plurality of storage devices for the particular bucket by dividing the determined total number of data blocks by a number of the plurality of storage devices; and

redistributing the data blocks assigned to the particular bucket across the plurality of storage devices based on the calculated target number of data blocks for each of the plurality of storage devices for the particular bucket.

2. The method of claim 1 , wherein redistributing the plurality of data blocks across the plurality of storage devices based on the sorting comprises uniformly redistributing data blocks having similar access patterns and storage sizes across the plurality of storage devices.

3. The method of claim 1 , wherein redistributing the plurality of data blocks across the plurality of storage devices is further based on performance characteristics for the plurality of storage devices.

4. The method of claim 3 , wherein redistributing the plurality of data blocks across the plurality of storage devices based on performance characteristics for the plurality of storage devices comprises redistributing the one or more data blocks across the plurality of storage devices in proportion to the determined performance characteristics for the plurality of storage devices.

5. The method of claim 1 , wherein redistributing the plurality of data blocks across the plurality of storage devices comprises:

selecting a bucket from the plurality of buckets, the bucket having an access pattern level specifying an access time that is more recent than an access time specified by an access pattern level for another bucket from the plurality of data buckets; and

redistributing data blocks assigned to the selected bucket prior to redistributing data blocks assigned to the another bucket.

6. The method of claim 1 , wherein each particular access pattern level comprises at least one of an access time range and an access count range.

7. A non-transitory computer readable storage medium executing computer program instructions, the computer program instructions comprising instructions for:

sorting a plurality of data blocks based at least in part on an access pattern and a size corresponding to respective data blocks of the plurality of data blocks, the sorting comprising:

assigning the plurality of data blocks to a plurality of buckets, each bucket associated with a particular respective access pattern level and respective data block storage size requirement, wherein assigning the plurality of data blocks to the plurality of buckets comprises:

matching an access pattern and a storage size of a particular data block to an access pattern level and a data block storage requirement of a particular bucket from the plurality of buckets; and

assigning the particular data block to the particular bucket based on the matching; and

redistributing the plurality of data blocks across a plurality of storage devices of a distributed storage based on the sorting of the plurality of data blocks, the redistributing comprising:

determining a total number of data blocks assigned to a particular bucket from the plurality of buckets;

calculating a target number of data blocks for each of the plurality of storage devices for the particular bucket by dividing the determined total number of data blocks by a number of the plurality of storage devices; and

redistributing the data blocks assigned to the particular bucket across the plurality of storage devices based on the calculated target number of data blocks for each of the plurality of storage devices for the particular bucket.

8. The medium of claim 7 , wherein redistributing the plurality of data blocks across the plurality of storage devices based on the sorting comprises uniformly redistributing data blocks having similar access patterns and storage sizes across the plurality of storage devices.

9. The medium of claim 7 , wherein redistributing the plurality of data blocks across the plurality of storage devices is further based on performance characteristics for the plurality of storage devices.

10. The medium of claim 9 , wherein redistributing the plurality of data blocks across the plurality of storage devices based on performance characteristics for the plurality of storage devices comprises redistributing the one or more data blocks across the plurality of storage devices in proportion to the determined performance characteristics for the plurality of storage devices.

11. The medium of claim 7 , wherein redistributing the plurality of data blocks across the plurality of storage devices comprises:

selecting a bucket from the plurality of buckets, the bucket having an access pattern level specifying an access time that is more recent than an access time specified by an access pattern level for another bucket from the plurality of data buckets; and

redistributing data blocks assigned to the selected bucket prior to redistributing data blocks assigned to the another bucket.

12. The medium of claim 7 , wherein each particular access pattern level comprises at least one of an access time range and an access count range.

13. A system comprising:

a non-transitory computer readable storage medium storing processor-executable computer program instructions, the instructions comprising instructions for:

sorting a plurality of data blocks based at least in part on an access pattern and a size corresponding to respective data blocks of the plurality of data blocks, the sorting comprising:

assigning the plurality of data blocks to a plurality of buckets, each bucket associated with a particular respective access pattern level and respective data block storage size requirement, wherein assigning the plurality of data blocks to the plurality of buckets comprises:

matching an access pattern and a storage size of a particular data block to an access pattern level and a data block storage requirement of a particular bucket from the plurality of buckets; and

assigning the particular data block to the particular bucket based on the matching; and

redistributing the plurality of data blocks across a plurality of storage devices of a distributed storage based on the sorting of the plurality of data blocks, the redistributing comprising:

determining a total number of data blocks assigned to a particular bucket from the plurality of buckets;

calculating a target number of data blocks for each of the plurality of storage devices for the particular bucket by dividing the determined total number of data blocks by a number of the plurality of storage devices; and

redistributing the data blocks assigned to the particular bucket across the plurality of storage devices based on the calculated target number of data blocks for each of the plurality of storage devices for the particular bucket; and

a processor for executing the computer program instructions.

14. The system of claim 13 , wherein redistributing the plurality of data blocks across the plurality of storage devices based on the sorting comprises uniformly redistributing data blocks having similar access patterns and storage sizes across the plurality of storage devices.

15. The system of claim 13 , wherein redistributing the plurality of data blocks across the plurality of storage devices is further based on performance characteristics for the plurality of storage devices.

16. The system of claim 15 , wherein redistributing the plurality of data blocks across the plurality of storage devices based on performance characteristics for the plurality of storage devices comprises redistributing the one or more data blocks across the plurality of storage devices in proportion to the determined performance characteristics for the plurality of storage devices.

17. The system of claim 13 , wherein redistributing the plurality of data blocks across the plurality of storage devices comprises:

selecting a bucket from the plurality of buckets, the bucket having an access pattern level specifying an access time that is more recent than an access time specified by an access pattern level for another bucket from the plurality of data buckets; and

redistributing data blocks assigned to the selected bucket prior to redistributing data blocks assigned to the another bucket.

18. The system of claim 13 , wherein each particular access pattern level comprises at least one of an access time range and an access count range.

Assignments (10)
RELEASE OF SECURITY INTEREST Recorded Jun 21, 2024
From: BANK OF AMERICA, N.A.
To: QUANTCAST CORPORATION
Reel/Frame 067807/0017 →
SECURITY INTEREST Recorded Jun 18, 2024
From: QUANTCAST CORPORATION
To: CRYSTAL FINANCIAL LLC D/B/A SLR CREDIT SOLUTIONS
Reel/Frame 067777/0613 →
SECURITY INTEREST Recorded Dec 5, 2022
From: QUANTCAST CORPORATION
To: VENTURE LENDING & LEASING IX, INC.; WTI FUND X, INC.
Reel/Frame 062066/0265 →
RELEASE OF SECURITY INTEREST Recorded Sep 30, 2021
From: WELLS FARGO BANK, NATIONAL ASSOCIATION
To: QUANTCST CORPORATION
Reel/Frame 057678/0832 →
SECURITY INTEREST Recorded Sep 30, 2021
From: QUANTCAST CORPORATION
To: BANK OF AMERICA, N.A., AS AGENT
Reel/Frame 057677/0297 →
RELEASE OF SECURITY INTEREST Recorded Mar 15, 2021
From: TRIPLEPOINT VENTURE GROWTH BDC CORP.
To: QUANTCAST CORPORATION
Reel/Frame 055599/0282 →
SECURITY INTEREST Recorded Aug 7, 2018
From: QUANTCAST CORPORATION
To: TRIPLEPOINT VENTURE GROWTH BDC CORP.
Reel/Frame 046733/0305 →
FIRST AMENDMENT TO PATENT SECURITY AGREEMENT Recorded Nov 14, 2016
From: QUANTCAST CORPORATION
To: WELLS FARGO BANK, NATIONAL ASSOCIATION
Reel/Frame 040614/0906 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE FROM "QUANCAST CORP." TO "QUANTCAST CORP." PREVIOUSLY RECORDED ON REEL 037194 FRAME 0323. ASSIGNOR(S) HEREBY CONFIRMS THE NAME OF ASSIGNEE BEING "QUANTCAST CORP." AND NOT "QUANCAST CORP.". Recorded Dec 7, 2015
From: RUS, SILVIUS V; OVSIANNIKOV, MICHAEL
To: QUANTCAST CORP.
Reel/Frame 037255/0166 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 2, 2015
From: RUS, SILVIUS V; OVSIANNIKOV, MICHAEL
To: QUANCAST CORP.
Reel/Frame 037194/0323 →
Continuity (1)
Continuation 13666709 · Nov 1, 2012