September 2013
Intermediate to advanced
548 pages
12h 25m
English
Now we’re going to turn theory into practice.
First we’ll look
at the higher-order function mapreduce; then we’ll
show how it can be used to parallelize a simple computation.
In the following figure, we can see the basic idea of mapreduce.
We have a number of mapping processes, which
produce streams of {Key, Value} pairs.
The mapping processes send these pairs to a
reduce process that merges the pairs, combining
pairs with the same key.

Warning: The word map, used in the
context of mapreduce, is completely different from the
map function that occurs elsewhere in this book.
mapreduce is a ...
Read now
Unlock full access