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

Does rust-rocksdb support async? #745

Open
trungda opened this issue May 21, 2023 · 2 comments
Open

Does rust-rocksdb support async? #745

trungda opened this issue May 21, 2023 · 2 comments

Comments

@trungda
Copy link

trungda commented May 21, 2023

I skimmed through the example and couldn't see that async is supported. Is there a need to add async support? What about the upstream TiKV, does it not support async too? Thank you.

@tabokie
Copy link
Member

tabokie commented May 22, 2023

What do you mean "supporting async"? AFAIK RocksDB doesn't have true async interface, and rust-rocksdb is only a binding library, it cannot and will not implement an async runtime on its own.

If you are referring to the parallal read I/O features (as in this blogpost), then it's as simple as adding a new flag to ReadOptions. We don't currently have it but you are welcome to file a PR.

@trungda
Copy link
Author

trungda commented May 22, 2023

If you are referring to the parallal read I/O features (as in this blogpost), then it's as simple as adding a new flag to ReadOptions. We don't currently have it but you are welcome to file a PR.

Thank you! Let me take a stab at this. Will keep this issue open to track this feature.

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

2 participants