Closed posgnu closed 5 years ago
I think we only need to store limited kinds of data. Hence, key/value DB will be sufficient to support our project. RocksDB seems good! https://rocksdb.org/
Great document is here https://docs.rs/rocksdb/0.6.0/rocksdb/
Let 's use paritytech's rocksdb! it looks good https://github.com/paritytech/rust-rocksdb
To insert an object in the DB, the object need to be serialized. https://crates.io/crates/bincode seems good
No need to use DB
How to store the object in DB