Determining whether to compress a data segment in a dispersed storage network
First Claim
1. A method for execution by a computing device of a dispersed storage network (DSN), the method comprises:
- receiving a data segment of a data object for dispersed storage error encoding;
prior to the dispersed storage error encoding, determining whether to compress the data segment by;
predicting a first estimated processing cost based on estimated processing costs to dispersed storage error decode a compressed set of encoded data slices to recover a compressed data segment and estimated processing costs to decompress the compressed data segment to recover the data segment, wherein the data segment is compressed to produce the compressed data segment, and wherein the compressed data segment is dispersed storage error encoded to produce the compressed set of encoded data slices;
predicting a second estimated processing cost based on estimated processing costs to dispersed storage error decode a set of encoded data slices to recover the data segment, wherein the data segment is dispersed storage error encoded to produce the set of encoded data slices; and
when the first estimated processing cost compares favorably to the second estimated processing cost;
compressing the data segment to produce the compressed data segment; and
dispersed storage error encoding the compressed data segment to produce the compressed set of encoded data slices.
4 Assignments
0 Petitions
Accused Products
Abstract
A method for execution by a computing device of a dispersed storage network (DSN) begins by receiving a data segment for dispersed storage error encoding. Prior to encoding, the method continues by determining whether to compress the data segment by predicting a first estimated processing cost (EPC) based on EPCs to dispersed storage error decode a compressed set of encoded data slices to recover a compressed data segment and EPCs to decompress the compressed data segment to recover the data segment and by predicting a second EPC based on EPCs to dispersed storage error decode the set of encoded data slices to recover the data segment. When the first EPC compares favorably to the second EPC, the method continues by compressing the data segment to produce the compressed data segment and dispersed storage error encoding the compressed data segment to produce the compressed set of encoded data slices.
-
Citations
12 Claims
-
1. A method for execution by a computing device of a dispersed storage network (DSN), the method comprises:
-
receiving a data segment of a data object for dispersed storage error encoding; prior to the dispersed storage error encoding, determining whether to compress the data segment by; predicting a first estimated processing cost based on estimated processing costs to dispersed storage error decode a compressed set of encoded data slices to recover a compressed data segment and estimated processing costs to decompress the compressed data segment to recover the data segment, wherein the data segment is compressed to produce the compressed data segment, and wherein the compressed data segment is dispersed storage error encoded to produce the compressed set of encoded data slices;
predicting a second estimated processing cost based on estimated processing costs to dispersed storage error decode a set of encoded data slices to recover the data segment, wherein the data segment is dispersed storage error encoded to produce the set of encoded data slices; andwhen the first estimated processing cost compares favorably to the second estimated processing cost; compressing the data segment to produce the compressed data segment; and dispersed storage error encoding the compressed data segment to produce the compressed set of encoded data slices. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computing device comprises:
-
memory; an interface; and a processing module operably coupled to the memory and the interface, wherein the processing module is operable to; receive a data segment of a data object for dispersed storage error encoding; prior to the dispersed storage error encoding, determine whether to compress the data segment by; predicting a first estimated processing cost based on estimated processing costs to dispersed storage error decode a compressed set of encoded data slices to recover a compressed data segment and estimated processing costs to decompress the compressed data segment to recover the data segment, wherein the data segment is compressed to produce the compressed data segment, and wherein the compressed data segment is dispersed storage error encoded to produce the compressed set of encoded data slices;
predicting a second estimated processing cost based on estimated processing costs to dispersed storage error decode a set of encoded data slices to recover the data segment, wherein the data segment is dispersed storage error encoded to produce the set of encoded data slices; andwhen the first estimated processing cost compares favorably to the second estimated processing cost; compressing the data segment to produce the compressed data segment; and dispersed storage error encoding the compressed data segment to produce the compressed set of encoded data slices. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification