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

Separate cpu-bound and IO-bound work in ballista-executor by using diff tokio runtime. #1770

Closed
Ted-Jiang opened this issue Feb 7, 2022 · 0 comments · Fixed by #1883
Closed
Labels
enhancement New feature or request

Comments

@Ted-Jiang
Copy link
Member

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Separate cpu-bound (query-execution) and IO-bound(heartbeat) work in diff tokio runtime like
@alamb Thanks for your awesome blog 😊😊😊
https://thenewstack.io/using-rustlangs-async-tokio-runtime-for-cpu-bound-tasks/

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
tokio::spawn is conceptually same as thread::spawn. Like threads, force shutdown tasks externally is not supported. Use separate runtime can support cancel SQL or cancel Job more easily in apache/datafusion-ballista#7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants