moonpool ~
GitHub →
$ playground

Playground

Run seeds of a small replicated register, hunt its planted bug, and replay the red seed.

Three servers keep one value on disk; a client writes it to a quorum and reads it back. Pick the faults, the count of servers and the planted bug, then run a seed or hunt for a red one. The network, the disk and the clock are simulated in your browser; the same code would run on Tokio.

the config
faults
system

the report

A red seed is where the work starts: From a red seed to the bug walks back from the broken invariant to the first wrong event. The engine of this page is the crate moonpool-wasm-demo, compiled to wasm; the chapter Simulation in the Browser explains how.