~/talk

A journey of scaling high-volume low-latency stateful processing

slides:none on file

Pipeline targets 1M TPS peak and proves feasibility by hitting 3.5M TPS on the stateful dedupe operator using Apache Flink with Kafka as source after file-source checkpoint/watermark bugs force Kafka. A custom processElement sliding-1min window replaces session windows to avoid 72TB of state; pruning fields cuts per-element state from 1KB to 68 bytes (93% state reduction). File-state backend outperforms RocksDB (~30–40% faster), async external calls cost ~80–90% throughput unless made nonblocking, and checkpoints run ~3s.

AI-written summary · about

  1. 0:00ThoughtWorks
  2. 0:37Problem Statement
  3. 1:16Architecture
  4. 4:55Infra considerations
  5. 8:30First Operator
  6. 8:50Deduplicator
  7. 10:08Dedupe Window
  8. 13:56Some Mathematics
  9. 17:59Further Optimisations
  10. 22:50Second Operator
  11. 27:17Blocked Card Check
  12. 31:21Topology Baseline
  13. 32:43Pipelines and Slots
~/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.