~/talk

Min and Max Aggregations with Updates in Real Time

Talkat Berlin Buzzwords 2022 · 2022-06-12..06-14· [data-engineering]
links:none on file
slides:none on file

Real-time ingestion uses a Kafka Streams app to compute count, sum and newly added min/max over roll-ups (minute/hour/day) while supporting record updates; the implementation keeps per-key heaps (uses a min-heap for max and vice versa), stores heap state in the changelog Avro record, and ships aggregated rows to Apache Kudu. Pipeline handles ~20,000 records/sec with query availability under two minutes (usually seconds). Edge case: a bounded heap can evict values and produce incorrect mins/maxes; batch Spark fixes older (>3 days) updates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Real-time analytics architecture
  3. 4:09Data set and cube setup
  4. 6:36Why math.max fails
  5. 9:10Heap-based min-max logic
  6. 12:00Q&A session
~/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.