Production-connected experiments run reliably at large scale

FIRE: Failure Isolation and Reliability for Production-Connected Experiments at Scale

Software EngineeringDistributed, Parallel, and Cluster Computing

Summary

Testing changes before they fully launch is usually done separately to avoid problems, but this can miss real-world issues. The authors showed how to safely run experiments using live production data without causing harm by using special safeguards. These include isolating traffic, monitoring errors closely, and limiting experimental calls to certain workers. Their system handled billions of requests daily with very few issues affecting real users and even stopped risky experiments automatically.

What this means in practice

  • For large-scale service operators: Run high-fidelity pre-deployment experiments connected to live production data with safeguards to avoid user impact and reduce failures.
  • For cloud service teams: Monitor downstream dependencies and automatically cancel experiments that cause health issues to maintain system reliability.
  • For online advertising platforms: Implement isolated replay tiers and traffic pinning to test new recommendation algorithms safely before full rollout.$Commercial implications: Improves pre-launch algorithm testing for ad delivery platforms, enabling safer and more reliable service updates.

Authors

Shripad Nadgowda, Gaurav Mitra, Sing Sing Ma, Vipul Chaskar, Pradipta Ghosh, Canturk Isci, Onkar Deshpande, Edgardo Aviles-Lopez, Ryan Feng, Ján Ondrušek

Abstract

Pre-production changes are usually tested in isolated environments to prevent their side effects from reaching production. Some record-and-replay platforms allow a production-connected mode: candidate changes receive recorded production requests while selected downstream calls reach production dependencies. This improves fidelity before deployment, but it also introduces reliability risks. At hyperscale, experimental traffic can fan out across shared services, trigger latent defects, or send malformed input to systems serving user requests. In this paper, we show how production-connected experimentation can operate reliably in a large-scale recommendation serving system. To contain downstream effects without sacrificing realistic dependency behavior, the platform uses three complementary guardrails. Isolated tiers redirect replay traffic away from shared dependencies where replication is practical. Dependency monitors observe downstream health and experiment-attributed errors and terminate experiments after sustained violations. Traffic pinning limits experimental calls to a designated subset of downstream workers when full replication would require scarce capacity. Isolated ranking tiers process billions of replayed requests per day using under 1% of the corresponding serving capacity. Over 90 days, these tiers experienced more than 200,000 abnormal worker exits without directly affecting production-serving workers. During a separate three-month window, dependency monitors cancelled approximately 5% of experiments for the measured ranking service and accounted for 87% of its cancellations. Dependency-aware triggering also reduced code-review experiment executions by 25%. These results show that high-fidelity, production-connected experimentation can operate at scale when downstream effects are isolated where possible, bounded where necessary, and continuously monitored and attributed.