Improve your App UX with one model processing insights from batch and streams
summary
Shows a concrete pipeline that uses Apache Beam and the Cloud Dataflow runner with Pub/Sub input and BigQuery storage to run the same code for both batch and streaming. Implements a live demo game (four buttons, assigned color), processes ~41,000 events, windows at five minutes, emits early firings every 10 seconds, allows 10-minute late arrivals and uses accumulation for refinements. Deployment hits a pipeline-name collision but succeeds; batch job reuses identical transforms, proving one model handles correctness, latency and live visualization.
AI-written summary · about
chapters (45)
- 0:00Introduction
- 1:04Steps to improve user experience
- 2:10History of data processing at Google
- 3:31What is MapReduce
- 4:10The problem with MapReduce
- 4:55From Java
- 5:43The problem
- 6:44Artificial splitting
- 7:15Un unbounded data
- 7:29Delays
- 8:08How to deal with delays
- 8:19MillVia
- 8:55Timebased windows
- 9:54Session windows
- 10:06Event vs processing time
- 11:16Stream vs Batch
- 11:41Billing Pipeline
- 12:53User Experience
- 13:47Abuse Detection
- 14:43Historical Systems
- 15:57Apache Beam
- 16:55Dataflow Example
- 17:44Four Questions
- 19:33MapReduce
- 22:48When to omit results
- 23:03Create a window
- 23:25Wait for results
- 23:58When to trigger
- 24:30Triggers in Beam
- 25:13Demo
- 26:30refinements
- 29:14how
- 32:36what just happened
- 33:19cancel pipeline
- 33:54run on
- 34:52update pipeline
- 35:27QR code
- 36:04Assign color
- 36:33Running the pipeline
- 38:10Patch pipeline
- 38:55BigQuery
- 39:18Color Smash
- 41:17Hit Ratio
- 41:31Aggregate
- 42:49Back to the slides
related talks
48mData Streaming with Apache Beam / Cloud Dataflow
38mData processing with Apache Beam
16mYour Data Pipeline with Apache Beam
47mApache Beam - what do I gain?
41mGoogle Dataflow: New open model for batch & stream processing
42mApache Beam: A Unified Model for...
53mStreaming data processing pipelines with Apache Beam [in Python, naturally!]
20mStreaming Processing Options in Google Cloud
