The performance of MapReduce

Dawei Jiang, Beng Chin Ooi, Lei Shi, Sai Wu

Proceedings of the VLDB Endowment · 2010 · 394 citations · 14 references

Concepts

TL;DR

MapReduce is widely used for large‑scale data analysis in the cloud, praised for elastic scalability and fault tolerance, yet it is slower than state‑of‑the‑art parallel databases by a factor of 3.1 to 6.5 and renting more nodes is not cost‑effective. The study seeks to determine whether MapReduce can simultaneously provide elastic scalability and economic efficiency for users. We evaluated Hadoop on a 100‑node Amazon EC2 cluster, varying parallelism, and examined five design factors and alternative methods to improve performance. Tuning these factors raised Hadoop’s performance by 2.5 to 3.5 times, making it comparable to parallel databases and demonstrating that a cloud data‑processing system can be both elastically scalable and efficient.

Abstract

MapReduce has been widely used for large-scale data analysis in the Cloud. The system is well recognized for its elastic scalability and fine-grained fault tolerance although its performance has been noted to be suboptimal in the database context. According to a recent study [19], Hadoop, an open source implementation of MapReduce, is slower than two state-of-the-art parallel database systems in performing a variety of analytical tasks by a factor of 3.1 to 6.5. MapReduce can achieve better performance with the allocation of more compute nodes from the cloud to speed up computation; however, this approach of "renting more nodes" is not cost effective in a pay-as-you-go environment. Users desire an economical elastically scalable data processing system, and therefore, are interested in whether MapReduce can offer both elastic scalability and efficiency. In this paper, we conduct a performance study of MapReduce (Hadoop) on a 100-node cluster of Amazon EC2 with various levels of parallelism. We identify five design factors that affect the performance of Hadoop, and investigate alternative but known methods for each factor. We show that by carefully tuning these factors, the overall performance of Hadoop can be improved by a factor of 2.5 to 3.5 for the same benchmark used in [19], and is thus more comparable to that of parallel database systems. Our results show that it is therefore possible to build a cloud data processing system that is both elastically scalable and efficient.

References

14