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

Tracking issues of Completion Based IO #4520

Open
4 tasks
Xuanwo opened this issue Apr 24, 2024 · 0 comments
Open
4 tasks

Tracking issues of Completion Based IO #4520

Xuanwo opened this issue Apr 24, 2024 · 0 comments

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Apr 24, 2024

OpenDAL wants REAL async fs io for long time:

None of them have become reality. Currently, OpenDAL's services-fs is powered by tokio-fs, which simply spawns I/O to the thread pool.

Plan

This issue tracks the progress of Completion Based IO. Our goal is to allow users to use different runtime they want freely.

For greater clarity: Each runtime will have separate services, such as services-compfs for compio. Users can enable and switch between runtimes by modifying these services. Each service will independently manage the specific aspects of its corresponding runtime.

For example:

let op = Operator::via_map(Scheme::Compfs, map)?;
let bs = op.read("path/to/file").await?;

Runtimes

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

No branches or pull requests

1 participant