I'd like to store one billion variable-length binary objects & get them by SHA256(obj) key. The median object size is 2 kilobyte. Low read/write volumes.

What I've tried so far: NFS with the hash's first few octets as nested directory names, it works but it is a bit slow and I also tried ZeroFS (also too slow).

Under considerations: DuckDB, RocksDB, BerkeleyDB, SQLite3, lmdb, something bespoke

Recommendations? Things/papers I should be reading?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://bsd.network/users/job/statuses/115671993526399979 on your instance and quote it. (Note that quoting is not supported in Mastodon.)