『 Spark 』1. spark 简介

云计算 waitig 582℃ 百度已收录 0评论

如何向别人介绍 spark

Apache Spark™ is a fast and general engine for large-scale data processing.

Apache Spark is a fast and general-purpose cluster computing system.
It provides high-level APIs in Java, Scala, Python and R, and an optimized engine that supports general execution graphs.
It also supports a rich set of higher-level tools including :

  • Spark SQL for SQL and structured data processing, extends to DataFrames and DataSets
  • MLlib for machine learning
  • GraphX for graph processing
  • Spark Streaming for stream data processing

spark 诞生的一些背景

这里写图片描述

这里写图片描述

Spark started in 2009, open sourced 2010, unlike the various specialized systems[hadoop, storm], Spark’s goal was to :

  • generalize MapReduce to support new apps within same engine

    • it’s perfectly compatible with hadoop, can run on Hadoop, Mesos, standalone, or in the cloud. It can access diverse data sources including HDFS, Cassandra, HBase, and S3.
  • speed up iteration computing over hadoop.

    • use memory + disk instead of disk as data storage medium

    • design a new programming modal, RDD, which make the data processing more graceful.
      [RDD transformation, action, distributed jobs, stages and tasks]

这里写图片描述

这里写图片描述

为何选用 spark

  • designed, implemented and used as libs, instead of specialized systems;
    • much more useful and maintainable

这里写图片描述

  • from history, it is designed and improved upon hadoop and storm, it has perfect genes;
  • documents, community, products and trends;
  • it provides sql, dataframes, datasets, machine learning lib, graph computing lib and activitily growth 3-party lib, easy to use, cover lots of use cases in lots field;
  • it provides ad-hoc exploring, which boost your data exploring and pre-processing and help you build your data ETL, processing job;

参考文章

Intro to Apache Spark

introducing spark


本文由【waitig】发表在等英博客
本文固定链接:『 Spark 』1. spark 简介
欢迎关注本站官方公众号,每日都有干货分享!
等英博客官方公众号
点赞 (0)分享 (0)