Tiny Flink — Minimizing the memory footprint of Apache Flink
summary
Explains how to run Apache Flink inside one JVM using Flink’s MiniCluster, trimming JVM native memory by lowering thread stacks, switching GC, and tuning Flink buffers to hit a tiny footprint. Demonstrates launching an empty cluster at about 20 MB heap and a real pipeline that stabilizes with ~100 MB heap and ~250 MB RSS, achieving roughly 100 MB/s throughput on a laptop; provides code, benchmarks, and precautions about stack sizes and GC tradeoffs.
AI-written summary · about
chapters (4)
- 0:00Start
- 5:32Deployment Options for Apache Flink
- 10:19Benchmarking the Throughput: Setup
- 13:15Heap vs Native Nemory
related talks
23mDemystifying Flink Memory Allocation and tuning
42mApache Flink deep-dive #bbuzz
43mTo Petascale and Beyond: Apache Flink in the Clouds
38mApache Flink: A Very Quick Guide
46mKeep it going — How to reliably and efficiently operate Apache Flink
38mFaster and Furiouser: Flink Drift
41mRunning Apache Flink everywhere
33mFlink in Containerland
