Thanks Congxian Qiu, I'm aware about your second point. In Value state I will keep String or very simple POJO, without any collections inside.
I didn't get your third point, could you clarify it please? "disk read/write is somewhat about the whole state size" Actually what I will keep in Value state is what it would be kept in single MapState entry. Depends what key I will choose, my state can be "broader" where I will use MapState, or can be very narrow so I will be able to use Value state that will keep actually only one entry. This is the essence of my question , what are the trade offs here. -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/