沃尔玛的分析平台,Spark非你莫属!

海量数据,无论批处理还是流处理,沃尔玛认为,完美选择就是Apache Spark!


- Spark Streaming从Kafka读数据存入Cassandra,

- Spark SQL 每隔六小时从Cassandra做聚合,再把结果以Parquet格式存起来

- 数据可视化,用Spark SQL把Parquet读出来发给Tableau!

Data processing had to be carried out at two places in the pipeline. First, during write, where we have to stream data from Kafka, process it and save it to Cassandra. Second, while generating business reports, where we have to read complete Cassandra table, join it with other data sources and aggregate it at multiple columns.

For both the requirements, Apache Spark was a perfect choice. This is because Spark achieves high performance for both batch and streaming data, using a state-of-the-art DAG scheduler, a query optimizer, and a physical execution engine.

原文:https://medium.com/walmartlabs/how-we-build-a-robust-analytics-platform-using-spark-kafka-and-cassandra-lambda-architecture-70c2d1bc8981

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容