简体   繁体   中英

How is memory managed in distributed runtime in Apache Flink?

We are building an Apache Flink based data stream processing application in Java 8. We need to maintain a state-full list of objects which characteristics are updated every ten seconds via a source stream.

By specs we must use, if possible, no distributed storage. So, my question is about Flink's memory manager: in a cluster configuration, does it replicate the memory used by a task-manager? Or is there any way to use a distributed in-memory solution with Flink?

Have a look at Flink state . This way you can store it in flink's state which will be integrated with internal mechanisms like checkpointing/savepointing etc.

If you need to query it externally from other services a queryable state can be a good addition.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM