Infrastructure changes like kernel or memory allocator updates are risky and can affect many machines.

A buggy change can cause outages and hide small but valuable efficiency gains.

The team solved it by: 👉 Select a balanced 1% machine subset with proportional machine-type representation. 👉 Roll out experiment and control groups simultaneously and recompile binaries with the experimental library. 👉 Continuously collect and statistically match job metrics to detect impact above the noise floor.

The parts that matter: 1️⃣ linear programming - rebalances experiment and control subsets to limit churn 2️⃣ binary hermeticity - ensures experiment logic only runs on designated machines

The framework reliably measures sub-1% gains across the fleet while preventing outages.

Running experiments on only 1% of machines limits exposure but requires careful rebalancing and two-step rollouts, adding operational complexity. If the rollout order is violated, debugging becomes hard and rollbacks may be delayed, increasing outage risk.

How do you balance experiment size with statistical confidence in your own infrastructure?