tustvold commented on PR #13424:
URL: https://github.com/apache/datafusion/pull/13424#issuecomment-2494641789

   At the risk of repeating myself from 
https://github.com/datafusion-contrib/datafusion-dft/pull/248#issuecomment-2489110287
 I would strongly discourage overloading the ObjectStore trait as some sort of 
IO/CPU boundary.
   
   Not only is this not what the trait is designed for, but it is overly 
pessimistic. Tokio is designed handle some CPU bound work, e.g. interleaved CSV 
processing or similar, it just can't handle tasks stalling for seconds at a 
time. 
   
   Forcing every individual IO operation to be spawned to a separate runtime 
feels like the wrong solution to be encouraging. Instead DF should make this 
judgement call at a meaningful semantic boundary.


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to