Expand description
The simulated world: shards on one machine, a client, an external service, a seeded scheduler and fault injection.
Structs§
- Failure
- Report
- Service
- A mock external service. It logs every call with its idempotency key and input. Responses differ per call, so a step that runs again yields a different value; if any later step had already run on the first value, the log shows one key called with two different inputs.
- SimCodec
- A deterministic stand-in for encryption (the simulator must be reproducible from its seed).
- SimConfig
- Knobs for one simulation run.
- SimSleep
- Sleeps in simulated time (for step functions that model slow services).
- World
Enums§
Constants§
- TALKER_
PROGRESS - The progress a
Job::Talkerstreams.
Functions§
- register
- run_
seed - Runs one seed.
- sim_
sleep - tokens_
hash - What a
Job::Talkerreturns: a hash of its tokens in order, which the checker compares with what readers of its stream saw.