×

System and method for limiting the impact of stragglers in large-scale parallel data processing

  • US 8,510,538 B1
  • Filed: 04/13/2010
  • Issued: 08/13/2013
  • Est. Priority Date: 04/13/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method of performing a large-scale data processing job, comprising:

  • executing a plurality of processes on a plurality of interconnected processors, the plurality of processes including a master process for coordinating a data processing job for processing a set of input data, and plurality of map processes and a plurality of reduce processes;

    in the master process, assigning input data blocks of a set of input data to respective map processes of the plurality of map processes and assigning partitions of intermediate data to respective reduce processes of the plurality of reduce processes;

    in each of the plurality of map processes;

    executing an application-independent map program to retrieve a sequence of input data blocks assigned thereto by the master process and to apply an application-specific map function to each input data block in the sequence to produce the intermediate data; and

    storing the intermediate data in memory of the interconnected processors; and

    in each of the plurality of reduce processes;

    receiving a respective partition of the intermediate data from the memory of the interconnected processors; and

    applying an application-specific reduce function to the respective partition of the intermediate data to produce output values; and

    in a respective reduce process;

    receiving multiple distinct partitions of the intermediate data andprocessing the multiple partitions one at a time in succession; and

    identifying the respective reduce process as a reduce process that is delaying the data processing job while continuing to process intermediate data and, in response, reassigning at least one of the multiple partitions, which has not yet been processed, to a second reduce process, including copying the intermediate data in the reassigned partition to the other reduce process.

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