~/talk

Getting into Low-Latency Gears with Apache Flink

Talkat Flink Forward Global 2021 · 2021-10-18..10-27· [web-performance]
name:Jun Qin
links:none on file
links:none on file
slides:none on file

Practical checklist with measured gains: increasing parallelism cuts 99th‑percentile latency from ~3s to 650ms by reducing per-task CPU load; switching from RocksDB to the in‑memory HashMap state backend can drop state access latency to ~500ms (watch memory and GC); lowering periodic watermark interval and network buffer timeout reaches ~330–370ms; using async I/O for external lookups reduces ~600ms→100ms; incremental window aggregation halves 1.7s→720ms; object reuse and faster serializers cut CPU and bring 4.5s→~0.5s. Flink features used: RocksDB, HashMap backend, checkpoint tuning, buffer debloating (1.14).

AI-written summary · about

  1. 0:00Introduction
  2. 1:34Latency & Its Measurement
  3. 4:03Low-Latency Techniques
  4. 4:45Direct Latency Optimization
  5. 21:17Optimizing Throughput for Latency
  6. 31:12Key Takeaways
~/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.