Reduce the number of shuffled records

1. Aggregation without Combiner

On the flow above, the number of shuffled records, equals to number of records in all partitions.

The following figure, illustrates the word-count calculation and shuffle process without combiner.

2. Aggregation with Combiner

On the flow above, before Group By, We use Combiner to calculation local/partition aggregation.
So the number of shuffled record are reduced. It will increase performance.

The following figure, illustrates the word-count calculation and shuffle process with combiner.