[
https://issues.apache.org/jira/browse/ARROW-8774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17157064#comment-17157064
]
Andy Grove commented on ARROW-8774:
-----------------------------------
I've been having some good success with async and smol and am ready to start
contributing some changes back to DataFusion based on what I have learned so
far. Smol is much easier to use than Tokio and co-exists with Tokio quite
nicely and would be more efficient than our current threading model.
> [Rust] [DataFusion] Improve threading model
> -------------------------------------------
>
> Key: ARROW-8774
> URL: https://issues.apache.org/jira/browse/ARROW-8774
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust, Rust - DataFusion
> Reporter: Andy Grove
> Assignee: Andy Grove
> Priority: Major
> Fix For: 2.0.0
>
>
> DataFusion currently spawns one thread per partition and this results in poor
> performance if there are more partitions than available cores/threads. It
> would be better to have a thread-pool that defaults to number of available
> cores.
> Here is a Google doc where we can collaborate on a design discussion.
> https://docs.google.com/document/d/1_wc6diy3YrRgEIhVIGzrO5AK8yhwfjWlmKtGnvbsrrY/edit?usp=sharing
--
This message was sent by Atlassian Jira
(v8.3.4#803005)