Re: Question about Memory Manage in the Streaming mode

2016-12-15 Thread Stephan Ewen
Hi! I do slightly disagree with Timo. Custom memory management is always useful, also in the Streaming API. It makes execution more robust. If you use RocksDB as a state backend, you get memory management from RocksDB - effectively all your program key/value state is off-heap. Flink's own state

Re: Question about Memory Manage in the Streaming mode

2016-12-15 Thread Tao Meng
Thanks a lot.![](https://link.nylas.com/open/f0mvqfd5d2e8i8vyg0632ikp4/local- af73d072-e4ca?r=dXNlckBmbGluay5hcGFjaGUub3Jn) On 12月 15 2016, at 5:39 δΈ‹εˆ, Timo Walther wrote: > Hi Tao, no, streaming jobs do not use managed memory yet. Managed memory is useful for sorting, joining and grou

Re: Question about Memory Manage in the Streaming mode

2016-12-15 Thread Timo Walther
Hi Tao, no, streaming jobs do not use managed memory yet. Managed memory is useful for sorting, joining and grouping bounded data. Unbounded stream do not need that. It could be used in the future e.g. to store state or for new operators, but is this is not on the roadmap so far. Regards,

Question about Memory Manage in the Streaming mode

2016-12-15 Thread Tao Meng
Hi all, I have some questions about memory management in the Streaming mode. Do the Streaming jobs use the memory management module ? If they don't, for what considerations do not ? Because Data exchange is too frequent ? Is there a plan to let streaming job use it ? Thanks a