-
Notifications
You must be signed in to change notification settings - Fork 1
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
Remove synchronous interfaces to RocksDB #10
Comments
Hey @neysofu , is there a way I can use db iter in async fashion? I am trying to iterate inside an async function and getting issues. |
What if I'm not using tokio and want to use a sync API? |
Hey @bewakes!
We don't currently expose async iteration APIs and we likely will not for the foreseeable future. I suggest you |
@delbonis we still offer synchronous APIs for now, but we are thinking of removing them entirely, as you can infer from this issue. |
Synchronous interfaces should arguably never be relied upon in production code, as they block the underlying Tokio runtime and can potentially cause huge performance problems. Once no one relies on the synchronous API anymore, we should remove it.
Blocked by https://github.com/Sovereign-Labs/sovereign-sdk-wip/issues/258.
The text was updated successfully, but these errors were encountered: