Replies: 1 comment
-
Usecase from databend: Read a small block (1,000,000 rows) from a file, around 141KiB to 288KiB. We need to add benches to address this use case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This note is used to track performance improvement.
Please let me know for any ideas.
Possible Ideas
Not work
Self-maintained runtime
Idea based on #103
To
spawn
a new task on tokio runtime, we can't have reference:So we have to take an owned buf like
monoio
andtokio-uring
:However, these API requires extra alloc and memory copy which drops 50% read performance.
Here is another try that keeps returning
BoxedAsyncRead
:There is no significant performance on regular benches, but we can find performance drops under parallel read benches.
Beta Was this translation helpful? Give feedback.
All reactions