×

Self-optimizing read-ahead

  • US 10,409,678 B2
  • Filed: 11/27/2017
  • Issued: 09/10/2019
  • Est. Priority Date: 08/31/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method comprises:

  • receiving, by a dispersed storage (DS) processing unit of a dispersed storage network (DSN), a plurality of read requests from a plurality of user devices of the DSN, wherein a read request of the plurality of read requests is from a user device of the plurality of user devices and is regarding a first data segment of a plurality of data segments of a first data object of a plurality of data objects, wherein pluralities of data segments of the plurality of data objects are dispersed storage error encoded into pluralities of sets of encoded data slices, wherein the pluralities of sets of encoded data slices are stored in a set of storage units of the DSN;

    for each read request of the plurality of read requests, determining a read ahead scheme based on one or more read ahead parameters to produce a plurality of read ahead schemes;

    determining a data retrieval scheme based on the plurality of read ahead schemes;

    for each read request of at least some read requests of the plurality of read requests, retrieving, by the DS processing unit from at least a decode threshold number of storage units of the set of storage units, one or more read ahead sets of encoded data slices in accordance with the data retrieval scheme and based on a corresponding read ahead scheme of the plurality of read ahead schemes to produce a plurality of one or more read ahead sets of encoded data slices;

    receiving, by the DS processing unit from the user device, a second read request for a second data segment of the first data object; and

    verifying, by the DS processing unit, that read ahead data includes the second data segment, wherein a corresponding one of the plurality of one or more read ahead sets of encoded data slices is decoded into the read ahead data; and

    when the read ahead data includes the second data segment, sending, by the DS processing unit, a representation of the read ahead data to the user device.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×