Skip to content

Conversation

@Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Feb 23, 2022

Signed-off-by: Xuanwo github@xuanwo.io

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

This PR intends to replace the tokio::fs, see benchmark in #40.

In general, we will set up a separate thread pool to do blocking IO instead of relying on tokio's.

In the future, we will implement a real async fs backend support based on io_uring or aio, please keep tuned.


Current PR benchmark:

image

main branch:

image

Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
@Xuanwo Xuanwo merged commit 6596476 into apache:main Feb 23, 2022
@Xuanwo Xuanwo deleted the blocking branch February 23, 2022 05:54
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.

1 participant