~/talk

Deep dive and best practices of Spark streaming

Talkat Data By the Bay 2016 · 2016-05-16..05-20· [data-engineering]
links:none on file
slides:none on file

Explains Spark Streaming internals and practical fixes: receivers buffer data on executors, direct Kafka avoids receivers so scale by increasing Kafka partitions, and one-second batches with a 30-minute window create 1,800 batches that overwhelm processing. Recommends mapWithState vs updateStateByKey because mapWithState performance scales with batch size not total state, use checkpointing for data and checkpoint metadata for driver recovery, prefer multiple receivers or repartition to spread load, and use transform to join streams with static RDDs; structured streaming is the next step.

AI-written summary · about

  1. 0:00Introduction to Spark Streaming
  2. 1:25Spark Streaming lifecycle
  3. 9:24Aggregations and windowing
  4. 14:00State management best practices
  5. 21:56Operationalization tips
  6. 31:02Key benefits of Spark Streaming
  7. 34:51Q&A
~/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.