Lesson 2 of 9 · 23m
Steady State, Hypotheses, and Experiments Worth Running
Turn vague resilience goals into measurable steady-state definitions and falsifiable experiments with explicit stop conditions.
A chaos experiment that begins with 'turn off a server and see what happens' is not an experiment. It is vandalism with a dashboard. A real experiment starts with steady state: the measurable behavior that says the service is healthy enough for users. Then it predicts how the system should maintain that steady state under a specific fault.
Define steady state in user terms
CPU at 40 percent is not user health. Better indicators connect to outcomes:
steady_state:
checkout_success_ratio: ">= 99.2% over 5 minutes"
checkout_p95_latency_ms: "<= 900"
payment_authorization_error_ratio: "<= 0.5%"
order_write_lag_seconds: "<= 3"Use several dimensions: success, latency, freshness, correctness, and queue backlog. A system can return fast errors and look wonderfully low-latency while failing every user.
Write the hypothesis before the fault
A strong hypothesis names the fault, expected mechanism, and measurement:
Hypothesis: If one of three checkout-api replicas is terminated,
traffic will rebalance within 30 seconds, checkout success remains
above 99.2%, p95 latency remains below 900ms, and no deployment,
autoscaler, or circuit-breaker amplification occurs.This is falsifiable. If success drops to 95 percent for four minutes, you learned something specific. If nothing happens because the load balancer health check was broken, you also learned something specific — just not what the architecture document claimed.
Design the smallest useful fault
Experiments should isolate variables. Losing one replica tests replication and health checking. Injecting 500ms latency into inventory calls tests timeout budgets and concurrency behavior. Dropping all traffic to a payment provider tests failover and user messaging, but is a bigger blast radius. Do not combine all three in your first exercise.
A useful experiment card looks like:
name: single-checkout-replica-loss
target: checkout-api deployment
fault: terminate one pod
duration: 10m
traffic: production, normal daytime volume
steady_state_probe: checkout synthetic every 15s
stop_conditions:
- checkout_success_ratio < 98.5%
- payment_provider_error_ratio > 2%
- database_connection_saturation > 85%
rollback: restore desired replica count and remove fault injectionDecide what you are willing to learn in production
Staging is useful for debugging mechanics, but it often lacks real traffic shape, real dependency behavior, real caches, and real operational pressure. Production experiments are justified when they are small, observable, reversible, and tied to a high-value hypothesis. If the experiment's worst plausible outcome exceeds what the business accepts, shrink it or improve controls first.
Field notes
- 'No errors' is not steady state if throughput or queue progress collapses.
- Synthetic probes can lie if they bypass auth, cache, or real dependency paths.
- Include a control period before injecting failure; otherwise you will confuse background noise with experiment effects.
- If nobody can state the expected behavior in advance, run a tabletop exercise before touching production.
Was this lesson helpful?