~/talk

Tuning Flink Filesystem Plugins for State Persistence

Talkat Flink Forward Virtual 2020 · 2020-04-22..04-24· [web-performance]
links:none on file
slides:none on file

Flink jobs with hundreds of stateful operators generate many small files that trigger GCS/S3 API rate limits and huge JVM churn because the Hadoop GCS connector allocates a 64 MB upload chunk buffer per file. The fix is to increase state backend thresholds so task managers batch state to the job manager, cutting checkpoint duration from ~15–20s to ~1–2s, reducing API calls, CPU and heap pressure and OOMs. For S3 set fs.s3a.endpoint NAT gateway and use a local buffer dir /tmp.

AI-written summary · about

  1. 0:00Intro
  2. 1:35Quick Bio: Scott Kidder
  3. 2:04Flink Apps: Mux Data Alerting
  4. 2:39Flink Apps: Mux Video Log Enrichment
  5. 3:22Flink Apps: Mux Video Media Usage Proce
  6. 4:02Comparison of Applications
  7. 4:47What is state?
  8. 5:18Checkpointing
  9. 5:50State Backends
  10. 6:33Troubleshooting HDFS
  11. 7:19HDFS Underreplicated Blocks
  12. 8:25HDFS Alerting Issues
  13. 9:03Path to Google Cloud Storage
  14. 9:37Configuring GCS Connector
  15. 10:37GCS, the struggle continues...
  16. 11:38GCS Solved!
  17. 12:57Updates to State Backend Thresholds
  18. 14:29Why did CPU usage drop?
  19. 17:36HDFS core-site.xml for S3
  20. 18:07Conclusion
~/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.