-
Notifications
You must be signed in to change notification settings - Fork 57
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
consider alternative KV store #433
Comments
I haven't yet encountered any bugs in sled in the past two years, so I don't think it's worryingly buggy for my usecase. But I do have some worries about active maintenance. I've reached out to the maintainer some time ago, who told me he's working on a large low-level library that he'll integrate in Sled too. Some requirements for alternatives:
Some options:
|
I walked through a similar impressive list of contenders for embedded DB, before finding the atomic data server and it's not as clean-cut: for example, indradb has sled or Postgres as a dependency. While doing research I started working on a testing bench for common data structures in Rust used for those, but I run out of steam. |
Update on sled: maintainer of sled is working on it in the background, mostly on a new storage engine. So sled ain't dead, baby. Some other thoughts:
|
Do note that the new engine is licensed under GPL3. I'm not familiar with how sled is being used in your project, but it may be incompatible with your MIT license. https://github.com/komora-io/marble/blob/main/Cargo.toml#L7 |
@netthier That could very well be a problem, thanks! I've sent a mail to sled's maintainer. Relevant issue in marble: komora-io/marble#7 |
I propose to hook into Apache OpenDAL (Data Access Library), I was going to use it to handle s3 uploads and writes, but it supports in memory, sled/dash map/redis in addition to all major cloud services + IPFS. Fully functional example:
|
Wow @AlexMikhalev that looks really promising! Seems like it supports [ |
Hi, I'm the maintainer of OpenDAL. Thanks for @AlexMikhalev's sharing and @joepio's contact! I'm here to bring some updates from OpenDAL side:
Apart from existing issues, I'm interesed in adding support for more services so our users can have more choices:
Please feel free to let me know if there is anything I can help you with! |
@Xuanwo awesome. A small example (like example 2 in your plans) of how to use OpenDal from tokio async functions will help me personally - I am building complementary to atomic product, https://terraphim.ai/ and I want to plug OpenDal operator instead of redis.rs KV. |
Thanks for the feedback! I will write one tomorrow 🤪 |
OpenDAL now also supports TiKV! apache/opendal#2533 This opens up multi-node setups for Atomic-Server. |
One month later, OpenDAL community implemented all the issues 🚀! |
I noticed in a Safenet discussion a mention that
sled
"is buggy and doesn’t seem to be actively maintained", with Persy and Cacache being their current candidates for replacement.The text was updated successfully, but these errors were encountered: