Skip to main content

Crate exoware_simulator

Crate exoware_simulator 

Source
Expand description

In-process store API simulator (naive RocksDB).

Re-exports§

pub use rocks::RocksStore;
pub use server::run;
pub use server::spawn_for_test;
pub use server::CMD;
pub use server::RUN_CMD;

Modules§

rocks
Naive reference storage for local development: user keys and values are written as-is to RocksDB. A single reserved key holds the monotonically increasing sequence number for RPCs. A separate batch_log column family keeps per-sequence-number batches so the stream service can serve replay and point lookups. Batch-log pruning is driven exclusively by the compact service’s Sequence scope (see server::prune::execute_prune).
server
HTTP server entrypoints.

Structs§

AppState

Traits§

StoreEngine
Implement these operations for your store. All methods must be thread-safe.

Functions§

connect_stack