~/talk

Spark Analytics on Cassandra Data

Talkat Jfokus 2016 · 2016-02-08..02-10· [data-engineering, databases]
slides:none on file

Explains why Cassandra’s layout — partition key for node placement and ordered clustering column inside partitions — favors fast single-row and recent-N queries but frustrates ad‑hoc aggregation; recommends Spark + the Spark‑Cassandra connector (used inside the Spark shell and DataStax Enterprise) to run distributed analytics. Live demo joins a CSV to a Cassandra table, builds pair RDDs, uses reduceByKey and mapValues to compute per‑movie averages (example result ≈ 8.53), showing the pipeline runs and feels like ordinary code. Performance notes: Cassandra aims for single‑digit ms ops; Spark is batch, often faster than Hadoop, and not strictly in‑memory.

AI-written summary · about

  1. 0:00Introduction
  2. 3:40Why Cassandra
  3. 6:22Data Model
  4. 10:25Data Structure
  5. 17:18Need for Spark
  6. 21:28Bad things about Spark
  7. 22:45RDDs
  8. 24:05Cluster Manager
  9. 27:56Schema
  10. 29:30Distributed Database
  11. 30:44Spark Shell
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.