paxos-rs
paxos-rs copied to clipboard
Persistent Storage
The Paxos state must be applied to persistent storage. The easiest to plug in may be RocksDB.
Does this persistent storage is used to store each (Instant, Command)? Is it possible to create a Trait for that? In case we don't use RocksDB, but we already use another kv-store.
There will be a Storage
trait that could be swapped out for any implementation. For 0.1 it'll be a synchronous API. I'll post a trait sketch here before I start implementing.