tustvold commented on issue #6587:
URL: https://github.com/apache/arrow-rs/issues/6587#issuecomment-2424204595

   Ok so if I follow, this would mean that in order for tokio to poll the 
stream, the python async code would need to invoke it in a timely manner? Or to 
put it differently, if the python code is busy doing something else, the tokio 
work would get starved. I wonder if this is going to lead to the same sorts of 
issues we've run into multiplexing CPU bound tasks on the same threadpool? 
Perhaps there needs to be some sort of buffering between the two regardless, 
which would obviate any lifetime shenanigans? _The same issue would also 
potentially apply to regular futures_
   
   TBC I am not opposed to changing the signature, just trying to ensure the 
python bindings work as well as possible 😅 


-- 
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]

Reply via email to