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

   > would still be considered blocking
   
   Indeed, and if you multiplex tasks that are tail latency sensitive on the 
same threadpool as CPU-bound work this may cause issues. So you shouldn't stick 
your web frontend in the same tokio threadpool as handles your query 
processing, but there is nothing inherently wrong with "blocking" a tokio 
worker.
   
   For more context:
   
   * https://docs.rs/tokio/latest/tokio/#cpu-bound-tasks-and-blocking-code
   * https://github.com/apache/arrow-rs/pull/4040#issuecomment-1724082933
   


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