Fjall very slow in benchmarks #172
|
I did a little benchmark to compare various KV stores and the only one I had true issues with is Fjall, which seems to deadlock and/or be very slow. |
Replies: 1 comment 5 replies
|
Ah so that is a bit of an API thing. Because the keyspace is dropped in Other than that, you are using key value separation in RocksDB (BlobDB), but not in Fjall. That being said, I cannot really recommend storing huge blobs in databases. You either pay with double writes (in LSM-trees, or B-trees with WAL (like SQLite WAL mode)), or difficult space reclamation. Also you lose the ability to partially read values from disk if needed. |
Ah so that is a bit of an API thing. Because the keyspace is dropped in
new, it kills all the background workers which prevents any flushes which makes it essentially deadlock.Other than that, you are using key value separation in RocksDB (BlobDB), but not in Fjall.
The rest of the (read) performance may get better with V3 because of various optimizations.
That being said, I cannot really recommend storing huge blobs in databases. You either pay with double writes (in LSM-trees, or B-trees with WAL (like SQLite WAL mode)), or difficult space reclamation. Also you lose the ability to partially read values from disk if needed.