alamb commented on issue #18907:
URL: https://github.com/apache/datafusion/issues/18907#issuecomment-3575418688

   I guess the question that might be best to answer is "why are long polls 
bad" -- in this case, it seems like the answer is
   
   > this single emit call becomes a CPU-intensive blocking operation that can 
stall the async runtime for hundreds of milliseconds or even seconds. This 
"long poll" prevents other tasks on the same thread from running, causing 
latency spikes and "hiccups" in the system.
   
   So you are trying to even out the rest of your system performance, which 
makes sense. This would also make it faster to cancel.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to