~/talk

Streaming, Fast and Slow: Mitigating Watermark Skew in Large, Stateful Jobs

links:none on file
slides:none on file

Stripe builds a custom dual source that backfills from S3 and transparently hands off to Kafka, but large backfills stall due to watermark skew and ballooning buffered state. Diagnosis shows uneven key‑group assignment and oversized S3 segments; enabling flash SSD optimize gives ~2x peak throughput, while using Flink’s global aggregate manager to compute a global min watermark and deliberately sleep to induce event‑time backpressure restores lockstep progress. Result: reliable horizontal scalability and much faster completed backfills.

AI-written summary · about

  1. 0:00Introduction
  2. 2:53Dual source challenges
  3. 5:47Watermark skew mechanics
  4. 8:18Parallelism imbalance cause
  5. 10:24Throttling fast tasks
  6. 12:55Performance results
  7. 13:58Key lessons learned
~/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.