The difference between Spark and MapReduce

Source: Internet
Author: User

The core concept in Spark is the RDD (elastic distributed DataSet), which has been widely used in recent years as data volumes continue to grow, and distributed cluster parallel computing (such as MapReduce, Dryad, etc.) is being used to handle growing data. Most of these excellent computational models have the advantages of good fault tolerance, strong scalability, load balancing and simple programming methods, so that they are favored by many enterprises and used by most users for large-scale data processing.
However, mapreduce these parallel computations are mostly based on the non-cyclic data flow model, that is, the data process involves reading data from a shared file system, making calculations, completing calculations, writing results to shared storage, and maintaining a high degree of parallelism between different compute nodes during the calculation. Such a dataflow model makes it impossible for an iterative algorithm that needs to reuse a particular set of data to run efficiently.
The RDD used by spark and Spark was developed to solve this problem, and spark used a specially designed data structure called an RDD. An important feature of the RDD is that distributed datasets can be reused in different parallel environments, which distinguishes spark from other parallel data flow model frameworks such as MapReduce.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.