Anyone know what’s the fastest embedded key/value store ? (Which is written in Rust or has a Rust wrapper)

I don’t care about safety and consistency, I need pure speed and disk space efficiency

Satonomics has been using for a while now Sanakirja which is quite good but needs a ton of space. Ive tried in the past heed (lmdb) and redb but they were worse performance wise, at least then, I might need to try again, am I missing another player ?

Reply to this note

Please Login to reply.

Discussion

What do you mean by embedded here? Redis is fast.

By embedded I mean a database that can be used with code only without having another process running

I’m like 95% sure that redis is slower than lmdb which uses things like memory mapped files but I’ll check again thanks !

If you can’t have another separate process I think that rules out redis. Good luck. Love the project.

I definitely can but would prefer not to, the leaner the better

Thanks a lot !

I did try it too actually, it was slower than all of them but redb iirc

Plus, it’s not really maintened anymore

But thanks I’ll give it another shot just in case

Interesting. I'd love to see a speed comparison

Rocksdb is slower than both sanakirja and lmdb from what I read and it would make sense because of how different they are but I guess I could benchmark it