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::RocksConfig;
pub use rocks::RocksStore;
pub use rocks::RocksWritePipelineConfig;
pub use server::open_temp;
pub use server::run;
pub use server::CMD;
pub use server::RUN_CMD;
pub use rocksdb;

Modules§

rocks
Naive reference storage for local development: user keys and values are written as-is to RocksDB. A meta column family holds the state-floor row, and a log column family keeps one row per commit group: the exact log.stream.v1.GetResponse bytes the stream service serves for that sequence, loaded on demand. Everything is addressed by key: recovery and pruning never assume which SST files rows live in, so RocksDB is free to place and compact them however it likes.
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