You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had the same problem and ended up using spawn_blocking for all rocksdb operations so that I don't block the async runtime. I'm still new to rust but I think that's the best/only option right now?
Since this Rust library is only a wrapper around the C++ library, it would be hard to setup something using mio etc. unless the underlying library can make use of epoll and kqueue etc.
ended up using spawn_blocking for all rocksdb operations so that I don't block the async runtime.
There is also block_in_place which is less restrictive and more performant in most cases.
It would be nice to wrap rocksdb in an async interface so that it could be used in an async context without blocking the async worker threads.
The text was updated successfully, but these errors were encountered: