Skip to content
CareChaosGitHub ↗

New experiment

Choose a preset, adjust the workload and fault, then run it. Everything is validated before it reaches the engine.

1 · Scenario preset

Five failures in one run: a slow processor, duplicate deliveries, a delivery outage, packet loss and a processor outage.

Hypothesis: A resilient pipeline absorbs a sequence of unrelated failures: nothing is lost except what the experiment drops on purpose, every duplicate is rejected, and each outage drains after recovery.

2 · Workload and window

Same seed and configuration always reproduce the same result.

Synthetic readings to generate (1–2000).

Virtual seconds between readings.

Observation window in virtual seconds. Unfinished events at the end are reported.

Resilient: idempotency, bounded retries, durable queue, stale-data flags, gap detection. Faulty: a deliberately weak reference implementation for comparison.

Throughput of a service while it drains its backlog after an outage.

Resilient mode flags data older than this as stale.

3 · Faults (5/12)

Schedule

Latency · Readings Processor
30s–80s
Duplicates · Ingestion API
60s–210s
Outage · Delivery Service
100s–150s
Packet loss · Ingestion API
160s–240s
Outage · Readings Processor
220s–250s

Fault 1

Adds a fixed delay (virtual seconds) to every event entering the target service. The service is marked degraded while active.

Latency, loss, duplicates and reordering affect events entering this service; an outage affects the service itself.

When the fault becomes active. Ignored for live injection (starts now).

How long the fault stays active.

Presets: 5, 15, 60.

Fault 2

Replays a fraction of events into the target service with the same event ID, 1s after the original.

Latency, loss, duplicates and reordering affect events entering this service; an outage affects the service itself.

When the fault becomes active. Ignored for live injection (starts now).

How long the fault stays active.

Fraction of eligible events affected, drawn from the seeded generator so runs are reproducible.

Fault 3

Makes the target service unavailable. Resilient senders retry with backoff; faulty senders drop events. Recovery is only reported once the backlog drains.

Latency, loss, duplicates and reordering affect events entering this service; an outage affects the service itself.

When the fault becomes active. Ignored for live injection (starts now).

Leave blank (use the checkbox) to keep the service down until you recover it manually.

Fault 4

Drops a fraction of events before they reach the target service. Every drop is recorded with a reason.

Latency, loss, duplicates and reordering affect events entering this service; an outage affects the service itself.

When the fault becomes active. Ignored for live injection (starts now).

How long the fault stays active.

Fraction of eligible events affected, drawn from the seeded generator so runs are reproducible.

Fault 5

Makes the target service unavailable. Resilient senders retry with backoff; faulty senders drop events. Recovery is only reported once the backlog drains.

Latency, loss, duplicates and reordering affect events entering this service; an outage affects the service itself.

When the fault becomes active. Ignored for live injection (starts now).

Leave blank (use the checkbox) to keep the service down until you recover it manually.

4 · Your pipelinecapacities, retries, queue limits, alert rules (optional)

Describe your own pipeline. Anything you leave blank uses the default shown as a placeholder.

Stage capacity (events per second)

Queues, retries and recovery

Overflow is dropped with a recorded reason.

Then events go to the dead-letter queue.

Resilient mode parks exhausted events and redrives them on recovery. Untick to model discarding them.

Minimum time in the recovering state.

A stage shows as degraded at this depth.

Alert rules

Illustrative thresholds for fictional data. Not clinical guidance.