| CPC G06F 3/0608 (2013.01) [G06F 3/064 (2013.01); G06F 3/0644 (2013.01); G06F 3/067 (2013.01); G06F 12/0223 (2013.01)] | 20 Claims |

|
1. A method for processing data, comprising:
obtaining, by a reduction server of a plurality of reduction servers in a distributed processing system and from a first storage area, metadata of first data to be read, wherein the first data comprises a target data block in a plurality of data blocks of second data, and wherein the second data comprises a processing result of a mapping server of a plurality of mapping servers for input data, and the plurality of data blocks of the second data are generated based on operations comprising:
partitioning, by the mapping server in response to determining that data in the plurality of data blocks needs to be sorted, a second storage area in a global memory into a plurality of sub-areas based on a preset second size; and
storing, by the mapping server, the plurality of data blocks into the plurality of sub-areas according to a sequence of the plurality of sub-areas;
determining, by the reduction server, a first address of the first data in the global memory based on the metadata, wherein the global memory comprises memories of the plurality of mapping servers and the plurality of reduction servers; and
reading, by the reduction server, the first data from the global memory based on the first address.
|