vortex-sim 0.1.0

Simulated I/O implementations (network, storage, clock) for Vortex
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! `vortex-sim` — Simulated I/O implementations for Vortex.
//!
//! Provides deterministic, fault-injectable replacements for real I/O:
//! - [`SimNetwork`] — in-process network with latency, drops, partitions, reordering
//! - [`SimStorage`] — in-memory storage with crash, corruption, and disk-full simulation
//! - [`SimClock`] — virtual clock with per-node skew, drift, and step jumps

mod clock;
mod network;
mod storage;

pub use clock::SimClock;
pub use network::{InFlightMessage, LinkConfig, SimNetwork};
pub use storage::{DiskModel, SimStorage, SimWal, StorageFaultConfig, WalEntry, WalOp};