Hello Team,

The attributes SPIN_MILLIS is the amount of time the input operator sleeps
while there are no inputs to process and it's default value is 10ms.

Recently while I was doing performance experiments, reducing the
SPIN_MILLIS to 1ms increased the number of tuples processed by the input
operator. Instead of manually adjusting the SPIN_MILLIS for best
performance, how about changing it based on the heuristic?

Here is the idea
After sleeping for SPIN_MILLIS, if tuples are found reduce the SPIN_MILLIS
otherwise increase the SPIN_MILLIS.

Let me know your thoughts.

Thanks
Sandesh

Reply via email to