Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for using a separate threadpool for CPU bound work #13424

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Nov 14, 2024

TODOs:

  • Add some example of trying to do IO on an object store (and should error with no io registered)
  • Contemplate adding the DedicatedExecutor code to make the example simple

Which issue does this PR close?

Rationale for this change

I added documentation that explains the problem here:

But now we need to show people how to fix it

I am reminded when trying to do this how non obvious it is

What changes are included in this PR?

Add a well commented example of how to use mutiple runtimes

Are these changes tested?

By CI

Are there any user-facing changes?

@alamb alamb marked this pull request as draft November 14, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document DataFusion Threading / tokio runtimes (how to separate IO and CPU bound work)
1 participant