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 meta column family stores the monotonically increasing sequence number for RPCs. A separate 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.
server
HTTP server entrypoints.

Structs§

AppState
All-in-one single-process composition for a backend that serves every store capability. Split deployments construct the narrower capability states directly.

Traits§

Ingest
Ingest write capability.
Log
Retained per-sequence batch-log access for stream replay and lookups.
Prune
Prune mutation capability.
Query
Query read capability.
Sequence
Local sequence frontier visible to this process.

Functions§

connect_stack