Re: AllWindowed vs Windowed with 1 key
Posted by
Adrienne Kole on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/AllWindowed-vs-Windowed-with-1-key-tp13039p13048.html
Hi,
Thanks for the reply. So I have 2 cases:
1. timeWindowAll (length, slide).reduce (...) (with parallelism = 1)
2. groupby(someField).timeWindow(length, slide). reduce(...)
Lets say case-1 global window, case-2 partitioned window. If I have only one key (for case-2) and I set parallelism=1 for case-1, I would expect that both cases have similar performance both in terms of latency and throughput. However, partitioned windows outperform global ones by orders of magnitude in terms of throughput.
I am using Flink 1.1.3.