Lesson 4 of 9 · 22m
Blast Radius Containment and Progressive Experiment Scope
Bound experiments by tenant, region, traffic slice, feature, and duration so learning never depends on hoping the fault is small.
The blast radius is the set of users, data, dependencies, and operational capacity affected if your experiment goes wrong. If you cannot describe that boundary before starting, you are not running a controlled experiment. You are hoping. Containment is not a single switch; it is progressive scope, automatic stop conditions, rollback paths, and organizational permission.
Scope along real isolation boundaries
Good containment uses the same boundaries your production system already understands:
one host or pod
one availability zone
one internal tenant
one percent of traffic
read-only operations
background workers, not checkout path
one feature flag cohort
one dependency test accountSynthetic tenants and staff accounts are excellent first targets because they preserve real control-plane paths while reducing customer impact. Traffic percentage is powerful only when routing is consistent; users bouncing randomly between experiment and control paths can blur measurement and expand harm.
Automate the stop conditions
Humans are too slow when latency or error budgets collapse. Encode thresholds before starting:
abort_when:
- metric: checkout_success_ratio
window: 2m
lt: 0.985
- metric: http_5xx_ratio
window: 2m
gt: 0.03
- metric: database_connections_used_percent
window: 1m
gt: 90The controller should remove the fault without waiting for a human to interpret the graph. Rollback also needs to be tested. If your cleanup relies on the same control plane you are stressing, you have a circular dependency.
Understand hidden coupling
A 'small' experiment can still amplify through shared resources. One degraded worker can fill a queue shared by billing. One slow database query can consume all pool connections. One poisoned cache entry can spread to every region. Map shared queues, shared caches, shared database clusters, global rate limits, control planes, deployment systems, and certificate infrastructure before touching them.
Progress deliberately
lab -> staging -> production synthetic tenant -> internal users -> 1% traffic -> broad cohortPromotion requires evidence, not enthusiasm. Record what happened at each level. Some systems never need broad injection; a precise synthetic tenant experiment may answer the question permanently. The objective is confidence, not maximal chaos.
Field notes
- Time-bound every experiment; an accidental forgotten fault is an outage waiting for a busier hour.
- Feature flags are containment only if enforcement is consistent across services and workers.
- Keep an out-of-band control channel. Slack, paging, or a break-glass console should not depend on the system under test.
- Measure harm in customer terms, not only infrastructure terms. 'Only one node' can still mean every checkout.
Was this lesson helpful?