Cache for file-based dispersed storage
First Claim
Patent Images
1. A method for execution by a computing device of a dispersed storage network (DSN), the method comprising:
- retrieving, by the computing device, a first set of a decode threshold number of encoded data slices of a first set of encoded data slices in accordance with a read function regarding a file, wherein a first portion of the file is dispersed storage error encoded to produce the first set of encoded data slices;
decoding, by the computing device, the first set of a decode threshold number of encoded data slices to recover the first portion;
outputting, by the computing device, the recovered first portion in accordance with the read function;
performing, by the computing device, a read ahead operation regarding the file to identify a second portion of the file, wherein the second portion is dispersed storage error encoded into a second set of encoded data slices;
determining, by the computing device, to retrieve a second set of the decode threshold number of encoded data slices of the second set of encoded data slices from storage units of the DSN;
when determined to retrieve the second set of the decode threshold number of encoded data slices;
retrieving, by the computing device, the second set of the decode threshold number of encoded data slices; and
temporarily storing, by the computing device, the second set of the decode threshold number of encoded data slices;
determining, by the computing device, whether to output the second portion in accordance with the read function; and
when determined to output the second portion in accordance with the read function;
retrieving, by the computing device, the second set of the decode threshold number of encoded data slices from temporary storage;
decoding, by the computing device, the second set of the decode threshold number of encoded data slices to recover the second portion; and
outputting, by the computing device, the recovered second portion in accordance with the read function.
5 Assignments
0 Petitions
Accused Products
Abstract
A method obtains at least part of a file from a dispersed storage network (DSN) memory, and stores it in a data object cache. When the file is changed, a determination is made about where to store the changed file portions: in the data object cache or in the DSN. The changed file portions, for example a new copy of the part of the file obtained from the DSN, are encoded utilizing an error coding dispersal storage function, and stored in either the data object cache, or in the DSN memory.
-
Citations
10 Claims
-
1. A method for execution by a computing device of a dispersed storage network (DSN), the method comprising:
-
retrieving, by the computing device, a first set of a decode threshold number of encoded data slices of a first set of encoded data slices in accordance with a read function regarding a file, wherein a first portion of the file is dispersed storage error encoded to produce the first set of encoded data slices; decoding, by the computing device, the first set of a decode threshold number of encoded data slices to recover the first portion; outputting, by the computing device, the recovered first portion in accordance with the read function; performing, by the computing device, a read ahead operation regarding the file to identify a second portion of the file, wherein the second portion is dispersed storage error encoded into a second set of encoded data slices; determining, by the computing device, to retrieve a second set of the decode threshold number of encoded data slices of the second set of encoded data slices from storage units of the DSN; when determined to retrieve the second set of the decode threshold number of encoded data slices; retrieving, by the computing device, the second set of the decode threshold number of encoded data slices; and temporarily storing, by the computing device, the second set of the decode threshold number of encoded data slices; determining, by the computing device, whether to output the second portion in accordance with the read function; and when determined to output the second portion in accordance with the read function; retrieving, by the computing device, the second set of the decode threshold number of encoded data slices from temporary storage; decoding, by the computing device, the second set of the decode threshold number of encoded data slices to recover the second portion; and outputting, by the computing device, the recovered second portion in accordance with the read function. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computing device comprises:
-
an interface; a memory; and a processing module that is operably coupled to the memory and the interface, wherein the processing module is operable to; retrieve, via the interface, a first set of a decode threshold number of encoded data slices of a first set of encoded data slices in accordance with a read function regarding a file, wherein a first portion of the file is dispersed storage error encoded to produce the first set of encoded data slices; decode the first set of a decode threshold number of encoded data slices to recover the first portion; output the recovered first portion in accordance with the read function; perform a read ahead operation regarding the file to identify a second portion of the file, wherein the second portion is dispersed storage error encoded into a second set of encoded data slices; determine to retrieve a second set of the decode threshold number of encoded data slices of the second set of encoded data slices from storage units of the DSN; when determined to retrieve the second set of the decode threshold number of encoded data slices; retrieving, via the interface, the second set of the decode threshold number of encoded data slices; and temporarily storing the second set of the decode threshold number of encoded data slices; determine whether to output the second portion in accordance with the read function; and when determined to output the second portion in accordance with the read function; retrieving the second set of the decode threshold number of encoded data slices from temporary storage; decoding the second set of the decode threshold number of encoded data slices to recover the second portion; and outputting, via the interface, the recovered second portion in accordance with the read function. - View Dependent Claims (7, 8, 9, 10)
-
Specification