topology-foundation / rs-topology

(currently not usable) The official Rust implementation of Topology Protocol
MIT License
23 stars 5 forks source link

Integrate Storage module with a database #4

Closed jihoonsong closed 7 months ago

jihoonsong commented 7 months ago

Describe the problem you are trying to solve Currently, Storage module doesn't store anything. Based on multifaceted understanding of the RAM network, choose the optimal database and integrate it. A good rationale behind the technical decision would be appreciated.

Describe the solution you'd like Use Pebble as a key-value database.

Describe alternatives you've considered Badger, BBolt, and LevelDB were also considered.

Describe why the solution is optimal A simple and fast key-value database seems the right choice. Among them, Pebble marked good enough and reliable performance in various benchmark data on the internet. geth and cosmos-sdk are also using it. We can start with Pebble, and if it turns out to be suboptimal, we can replace it with something better.