Expand description
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, reorderingSimStorage— in-memory storage with crash, corruption, and disk-full simulationSimClock— virtual clock with per-node skew, drift, and step jumps
Structs§
- Disk
Model - Disk behavior model for crash simulation.
- InFlight
Message - A message in-flight in the simulated network.
- Link
Config - Configuration for a simulated network link between two nodes.
- SimClock
- A deterministic clock with virtual time and per-node skew.
- SimNetwork
- Simulated network that intercepts all inter-node communication.
- SimStorage
- Simulated persistent storage with WAL and fault injection.
- SimWal
- Simulated Write-Ahead Log.
- Storage
Fault Config - Runtime fault configuration for storage.
- WalEntry
- A WAL entry with sequence number and CRC.
Enums§
- WalOp
- A WAL operation.