Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Low performance when using EventTimeInputBuilder #65

Open
fschoell opened this issue Sep 26, 2017 · 1 comment
Open

Low performance when using EventTimeInputBuilder #65

fschoell opened this issue Sep 26, 2017 · 1 comment

Comments

@fschoell
Copy link

I'm currently using flink-spector to read a "large" (about 10.000 values) dataset from a CSV file and use the EventTimeInputBuilder to create a data stream from it. However, the performance drops significantly the larger the input gets. My application needs about 30 minutes to process those data (even though the algorithm basically just calculates a moving average). Cutting down the input to 5.000 values drops the runtime to 5 minutes.

I used a profiler to dig into the problem and it seems that InputUtil.produceWatermarks is quite time consuming.

I'm using the InputBuilder now and assign timestamps and watermarks myself which drops the runtime to a couple of seconds. Just wanted to report this.

@lofifnc
Copy link
Contributor

lofifnc commented Sep 26, 2017

This is interesting. I will investigate this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants