Real-time analytics with Apache Cassandra & Apache Spark
summary
Demo shows Apache Cassandra for raw time-series storage, Kafka for ingestion and Apache Spark (including the Spark Cassandra connector) for both batch and streaming analytics, collocated on the same nodes to push computation to the data. Materialized views (daily aggregates, highs/lows) use Cassandra counters and stay current with 500 ms micro-batches, avoiding nightly ETL. Notes include topology-aware replication for workload isolation across datacenters and hinted handoff (default retention ~3 hours) for temporarily unavailable replicas.
AI-written summary · about
chapters (11)
- 0:00Introduction and setup
- 3:58Weather data use case
- 8:13Cassandra overview and Dynamo paper
- 16:59Cassandra consistency and replication
- 18:44Spark introduction
- 23:01Spark components and RDDs
- 26:30Spark deployment with Cassandra
- 28:14Cassandra data modeling
- 31:26Materialized views with Spark
- 32:50Scala code walkthrough
- 36:42Combining streaming and batch jobs
related talks
52mSolving Analytical Problems using Apache Spark
59mStreaming Big Data w/Spark, Spark Streaming, Kafka, Cassandra & Akka
40mSpark Analytics on Cassandra Data
54mHarnessing the Power of Spark & Cassandra within your Spring App
33mTo Spark or Not to Spark
30mArchitecting Applications With Multiple Open-Source Big Data Technologies
21mModeling Financial Data In Cassandra To Serve Real Time And Batch Workloads
50mIntroduction to Real-Time Big Data with Apache Spark
