# Use TreeReduce/TreeAggregate instead of Reduce/Aggregate

You'll see in [TreeReduce and TeeAggregate Demystifed](https://umbertogriffo.gitbooks.io/apache-spark-best-practices-and-tuning/content/treereduce_and_treeaggregate_demystified.html) `treeReduce/treeAggregate` function are more efficient than `reduce/aggregate`.
