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

[NativeIO] Use rust block api in file read #377

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

xuchen-plus
Copy link
Contributor

Address some perf issues found during profiling.

  1. Table read in Java should use Rust side blocking API to avoid callback overhead in tokio's threads.
  2. Reader's schema could be reused after initialization to save some allocations for each batch.
  3. Arrow allocator in Java could reserve some memory.

Signed-off-by: chenxu <chenxu@dmetasoul.com>
@xuchen-plus xuchen-plus added enhancement New feature or request native-io labels Dec 21, 2023
Signed-off-by: chenxu <chenxu@dmetasoul.com>
@xuchen-plus xuchen-plus merged commit a0d93af into lakesoul-io:main Dec 21, 2023
16 checks passed
@xuchen-plus xuchen-plus deleted the use_blocked_io_api branch December 21, 2023 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request native-io
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants