Sub topic 11
Launching, Ramping and Monitoring Safely
Assume you understand feature flags, experiment variants, primary metrics, guardrail metrics, and the experiment brief. This chapter focuses on operating an experiment after its design is approved. A sound design can still produce bad decisions if the rollout is rushed, assignments are unstable, or the team ignores warning signals.
Launch in small steps
A launch is the point when eligible users can receive an experiment variant. Do not expose the full eligible population immediately. Use a staged rollout:
- Deploy the code with the experiment disabled.
- Enable it for internal users or a test account.
- Enable it for a small percentage of eligible traffic.
- Check assignment, events, errors, and guardrails.
- Increase exposure only when the checks pass.
- Continue until the planned allocation is reached.
The feature flag should control exposure separately from experiment assignment. This lets engineering stop the feature quickly without changing the experiment's recorded allocation.
A ramp should have explicit thresholds. For example, the team might begin at 1% of eligible traffic, move to 10%, then 25%, and finally 50%. The exact percentages depend on risk, traffic, and the cost of failure. A payment change deserves a slower ramp than a cosmetic copy change.
Monitor health, not just the winner
During the run, monitor two kinds of signals:
- Experiment health: assignment counts, exposure events, missing events, variant persistence, and sample ratio mismatch.
- Product health: error rates, latency, crashes, support contacts, payment failures, and other guardrails.
The primary metric helps answer whether the hypothesis is supported. Guardrails help answer whether the change creates unacceptable harm. Neither should be read in isolation.
| Signal | Example threshold | Action |
|---|---|---|
| Payment error rate | More than 0.5 percentage points above control | Pause and investigate |
| Assignment split | Outside the planned allocation | Check flag and logging |
| Page-load p95 | More than 10% above baseline | Hold the next ramp |
| Missing exposure events | Above the agreed limit | Repair instrumentation |
Define thresholds before launch. A threshold should identify an action, not merely describe an interesting number. Record who can pause the experiment and how the rollback works.
Ramping decisions
At each ramp point, hold a short review with product, engineering, and data. Confirm:
- The observed allocation matches the planned allocation.
- Users stay in the same variant on later visits.
- Exposure events occur before outcome events.
- No guardrail crosses its stop threshold.
- The feature behaves correctly across supported devices and flows.
If a check fails, pause before increasing traffic. Roll back when users face material harm or when the team cannot trust the data. Document the time, symptom, affected variant, action, and owner. A pause is not a failed experiment; shipping with unknown damage is the failure.
Exercise
The treatment has a promising conversion rate after one day, but its payment-error guardrail is above the predefined stop threshold. Should you increase exposure?
Show answer
No. Pause the ramp and investigate or roll back. The guardrail indicates unacceptable risk, regardless of the early primary-metric result.