Break a component
- Select a component on the canvas.
- Find Break it on purpose near the top of the inspector.
- Pick a fault and press its button. The status line above the buttons says what is happening now.
- Press Fix to put it back. Ctrl+Z (Cmd+Z on a Mac) also undoes a fault.
Slow works on anything that does timed work, stores, replicas, shards, WebSocket gateways and lambdas included. On a part that does no timed work of its own, the button stays visible but greyed out and says why.
Break a connection
The Connections list under the node faults has a row for each connection, and selecting a connection on the canvas gives the same controls for that one alone.- Cut connection stops everything crossing it until you restore it.
- Duplicate delivers some of its requests twice, the way a network that resends a packet can. The far end does the work again. The default is 5%. Select the connection itself to pick 1%, 5%, 10% or 25%.
- Cut answers lets requests through and does their work, but loses the answers on the way back. A caller with a timeout gives up and, with retries, does the work a second time. A caller with no timeout waits for good.
Writes that never reach disk
A Database or Read replicas component has a Durability section with one setting, Writes reach disk.- Before it answers is the default. A crash loses nothing it said was saved.
- Within 10ms, Within 100ms or Within 1s answers first and writes later. A crash or restart then loses every write still waiting, with no error anyone sees.
Saved faults and Reset
Once you have pressed a fault button, the inspector says how many faults are saved with the run. Reset plays them again at the same moments, so you can watch the same failure as many times as you like. Forget saved faults empties the list.Send the exact run
- Press Share in the top bar.
- Under This exact run, press Copy link.
- Send the link.
If you change a setting partway through a run, the replay uses the design as it is now, from the start. Runs are seeded, so the same design and faults play the same way on any machine.