Split block data into dedicated RocksDB blob files #3138
Labels
A-rust
Area: Updates to Rust code
C-enhancement
Category: This is an improvement
I-slow
Problems with performance or responsiveness
S-needs-investigation
Status: Needs further investigation
Motivation
We can increase Zebra's speed by splitting RocksDB block and transaction data into separate blob files.
Specifications
https://github.com/facebook/rocksdb/wiki/BlobDB#api
Rust API
The current version of the
rocksdb
crate does not have Rust bindings for the blob options:https://docs.rs/rocksdb/0.17.0/rocksdb/struct.Options.html
So we would have to use the raw option API:
https://docs.rs/rocksdb/0.17.0/rocksdb/struct.DBWithThreadMode.html#method.set_options_cf
Related Work
We might need to do this as part of
lightwalletd
support, if the performance isn't good enough. See #3134.The text was updated successfully, but these errors were encountered: