posgnu / pajero

Packet analyzer for attack & defense CTF
GNU General Public License v3.0
7 stars 2 forks source link

DB scheme #2

Closed posgnu closed 5 years ago

posgnu commented 6 years ago

How to store the object in DB

posgnu commented 6 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/

posgnu commented 6 years ago

Great document is here https://docs.rs/rocksdb/0.6.0/rocksdb/

posgnu commented 6 years ago

Let 's use paritytech's rocksdb! it looks good https://github.com/paritytech/rust-rocksdb

posgnu commented 6 years ago

To insert an object in the DB, the object need to be serialized. https://crates.io/crates/bincode seems good

posgnu commented 5 years ago

No need to use DB