Re: Memory Management in Streaming?

2016-09-03 Thread Jamie Grier
Hi Shaosu, Do you have an estimate on the total size of state you are keeping for the windows? How many messages/sec, how large a window, message size, etc would be good details to include. Also, which state backend are you using? Have you considered using the RocksDB state backend. This backe

Re: Memory Management in Streaming?

2016-09-03 Thread Stefan Richter
Hi, the memory management described in this wiki page only applies to the batch api. The streaming api currently uses the Java heap, but we are strongly considering introducing managed memory for streaming as well. Best, Stefan > Am 02.09.2016 um 22:45 schrieb Shaosu Liu : > > Hi, > > I have

Memory Management in Streaming?

2016-09-02 Thread Shaosu Liu
Hi, I have had issues when I processed large amount of data (large windows where I could not do incremental updates), flink slowed down significantly. It did help when I increased the amount of memory and used off heap allocation. But it only delayed the onset of the probelm without solving it. C