MapReduce

Computer Science

How It Works

MapReduce is a distributed computational programming framework designed for scalable, parallel processing of massive data clusters. Computations segregate across two core functions: the Map phase, in which independent worker nodes transform unstructured records into intermediate key-value tuples, and the Reduce phase, where workers summarize values grouped by common key. An intermediate Shuffle and Sort phase partitions and routes tuples across network fabrics.

Governing Equation
$$ \text{Map}: (k_1, v_1) \to \text{list}(k_2, v_2) \quad\vert\quad \text{Reduce}: (k_2, \text{list}(v_2)) \to \text{list}(k_3, v_3) $$