Chaos engineering means deliberately introducing failures, in a controlled way, to learn how your system behaves before a real incident teaches you. It sounds reckless; done properly, it is the opposite: small, planned experiments with a clear hypothesis and a quick way to stop.

The method

  1. Define steady state: the metrics that say the system is healthy, such as checkout success rate, p95 latency and error rate.
  2. Form a hypothesis: "If one of three API pods is killed, error rate stays below 0.5% and p95 below 800 ms."
  3. Limit the blast radius: one pod, one instance, a small share of traffic, staging first.
  4. Run the experiment with someone watching and a way to stop immediately.
  5. Compare steady-state metrics during the experiment with the hypothesis.
  6. Fix what you learn, and repeat later to confirm.

Experiments to start with

ExperimentWhat it tests
Kill one pod or instanceRedundancy, readiness, graceful shutdown
Add 300 ms latency to a dependencyTimeouts, retries, circuit breakers
Make a dependency return errorsFallbacks and error handling
Fill a disk on a non-critical hostDisk alerts and cleanup
Fail over the database replicaFailover time and connection handling
Block a third-party APIDegradation and user messaging

Game days

A game day is a scheduled session where the team runs experiments together, often with an incident commander and scribe, practising the incident response plan. It tests people and processes as well as systems: do alerts fire, do runbooks work, does escalation reach the right person?

Safety rules

  • Start in staging; move to production only with small blast radius and agreement.
  • Never run experiments during peak traffic, launches or ongoing incidents.
  • Have a stop button: the experiment ends automatically after a set time, or immediately on command.
  • Tell support and on-call before production experiments.
  • Abort if steady-state metrics move beyond agreed limits.

Monitoring is the instrument

Chaos engineering without good monitoring is just breaking things. You need:

  • Steady-state metrics visible in real time: error rate, latency percentiles, business success rates.
  • Traces that show what each request did during the experiment (retries, timeouts, fallbacks).
  • Uptime checks from outside to confirm user impact.
  • Alerts, to verify they fire when they should.

Worked example

A team hypothesised that losing one of three Redis cache nodes would only slow product pages slightly. In staging they stopped one node. Product pages started failing with errors instead of slowing down: the cache client threw on connection errors rather than falling back to the database. They wrapped cache reads in a fallback with a short timeout and a circuit breaker, re-ran the experiment, and saw p95 rise from 120 ms to 190 ms with no errors. Two months later a real cache node failed in production with no customer impact.

Tools

Kubernetes-native tools (Chaos Mesh, LitmusChaos), cloud fault injection services, service-mesh fault injection, or simple scripts that kill processes and add network delay with tc. Start with scripts; adopt a tool when experiments become routine.

Checklist

  1. Steady-state metrics defined and visible.
  2. Written hypothesis and blast radius.
  3. Staging first, then small production experiments.
  4. Stop button and abort criteria.
  5. Findings tracked as actions, experiments repeated.

VitalRix APM, uptime checks and dashboards give you the steady-state view, and notebooks are a good place to record each experiment with live charts.

Common mistakes

  • Starting with big, dramatic experiments (a whole region) instead of one pod or one dependency.
  • No hypothesis, so nobody knows whether the result was good or bad.
  • Running experiments while monitoring is weak, so the effect cannot be measured.
  • Not fixing what you find, which turns chaos engineering into theatre.
  • Surprising other teams: announce production experiments in advance.

Writing up an experiment

Keep a short record for each experiment: the hypothesis, the blast radius, start and end times, what the steady-state metrics did, what surprised you, and the actions you took. Over time these records become a map of how your system fails, and a reference for new team members joining on-call. A runbook often grows out of an experiment that went differently than expected.

Is chaos engineering safe in production?

With small blast radius, abort criteria, good monitoring and agreement from the team, yes. Start in staging until experiments are routine.

Do small teams need chaos engineering?

A simple game day each quarter, killing one instance or slowing one dependency, gives most of the benefit.

What should the first experiment be?

Kill one instance of a redundant service and confirm users see no errors.

Try VitalRix free

Uptime monitoring, APM, logs, real user monitoring and status pages in one place. No credit card needed.