~/talk

Migration of a realtime stats product from Storm to Flink

Talkat Flink Forward Berlin 2017 · 2017-09-11..09-13· [data-engineering]
slides:none on file

ResearchGate migrates a realtime stats pipeline from Storm to Flink, replacing per-event +1 DB writes with time-window pre-aggregation and keyed state, cutting ~1 billion daily increments to ~200 million (~80% fewer writes) and lowering backend load by more than 30%. Pipeline uses Kafka for ingestion and as a sink buffer, a dispatcher service to batch HBase writes, and optimistic locking for correctness. Replaces stateless increments with idempotent stateful counting, implements revert-and-apply updates for all‑time counters, and reuses ~70% fewer lines of code.

AI-written summary · about

  1. 0:00Intro
  2. 2:40What to count - Reads
  3. 5:11What to count - Requirements
  4. 6:21How we did it in the past...
  5. 7:17Drawbacks of the original solution
  6. 10:13What we want to achieve
  7. 11:08Simple Counting
  8. 13:31"Statefuller" Counting
  9. 15:24Idempotent counting
  10. 18:42Back to our graphs...
  11. 20:09All time counters - 1st idea
  12. 23:16Stats processing pipeline
  13. 24:48Batch World
~/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.