Harnessing the Power of Spark & Cassandra within your Spring App
summary
Shows how Spark (206 EC2 nodes sorting 100 TB sorted in 23 minutes) pairs with Cassandra using the DataStax connector to offset each other’s weaknesses: Spark adds joins/aggregation, Cassandra supplies persistence and server-side filtering. Describes running one Spark executor and one Cassandra process per node to exploit data locality via per-node Spark+Cassandra, tuning cores/memory, and jar/classpath packaging for remote executors. Demonstrates a Spring pipeline (RabbitMQ → Cassandra → Spark job → Postgres) that computes 30-day low/high/avg per symbol and warns of ops cost and resource requirements.
AI-written summary · about
chapters (59)
- 0:00Introduction
- 0:50Relational Databases
- 1:22Sharding
- 1:41Who this talk is for
- 2:43Big Data
- 3:12Agenda
- 3:43Spark
- 3:57Gray Sort
- 5:25Spark vs Hadoop
- 6:33Spark history
- 6:56MOSS
- 7:25Spark Context
- 8:28Working with Spark
- 9:17RDD Example
- 10:32MapReduce
- 10:51Demo Code
- 11:34Spark Modules
- 11:44Spark Sequel
- 12:18Spark Streaming
- 13:06Spark Window Functions
- 13:35Cassandra
- 15:08Token Rings
- 16:35quorum
- 18:12Replication across data centers
- 18:41Why use Cassandra
- 19:27Linear scalability
- 21:02What is Cassandra
- 23:37Tables
- 24:51Terminus
- 25:53Query
- 26:44Data Model
- 26:54Partition Keys
- 27:41Clustered Rows
- 28:57Spark vs Cassandra
- 29:12Weaknesses
- 30:21Companies
- 31:04Spark Cassandra Connector
- 32:17Spark Cassandra Smart Algorithms
- 33:18Why Spark Cassandra
- 33:53Spark Cassandra Example
- 35:33How many nodes should you use
- 37:38Common data pipeline patterns
- 38:43Spring Cloud Dataflow
- 39:30Programming Model
- 40:17Code
- 41:00Spark Configuration
- 42:00Resource Management
- 43:23Java Functions
- 44:33Warning
- 45:14Pricing
- 46:11Understanding where your code lives
- 46:41Mapping into classes
- 47:15Mapping into local packages
- 48:44Spring app demo
- 50:18Spark master URL
- 51:17Demo web
- 52:23Demo client app
- 53:04Demo client project
- 54:08Thank you
related talks
33mTo Spark or Not to Spark
52mSolving Analytical Problems using Apache Spark
40mSpark Analytics on Cassandra Data
38mReal-time analytics with Apache Cassandra & Apache Spark
05mInterview
59mStreaming Big Data w/Spark, Spark Streaming, Kafka, Cassandra & Akka
39mThe Sparkling Solution that Scales to IoT
53mLord of the Spark
