FIRE:面向大规模生产连接实验的故障隔离与可靠性保障
FIRE: Failure Isolation and Reliability for Production-Connected Experiments at Scale
AI总结:
本文提出FIRE防护框架,通过隔离层、依赖监控器、流量绑定三种措施,实现大规模推荐系统中高保真生产连接实验的可靠运行,相关措施有效控制了实验对生产的影响。
摘要:
生产变更通常在隔离环境中测试,以防止其副作用影响生产。部分录制回放平台支持生产连接模式:候选变更接收录制的生产请求,选定的下游调用则访问生产依赖,这提升了部署前的保真度,但也引入了可靠性风险。在超大规模场景下,实验流量会扩散到共享服务,触发潜在缺陷,或向处理用户请求的系统发送畸形输入。本文展示了大规模推荐服务系统中生产连接实验如何可靠运行,该平台采用三种互补防护措施控制下游影响且不牺牲真实依赖行为:隔离层将回放流量重定向到可复制的共享依赖之外;依赖监控器观测下游健康状况与实验归因错误,在持续违规后终止实验;流量绑定将实验调用限制在指定的下游工作者子集,避免全量复制占用稀缺资源。隔离排名层每日处理数十亿回放请求,仅消耗对应服务容量的1%以下;90天内,这些层经历超20万次异常工作者退出,未直接影响生产服务工作者。在另一个三个月窗口内,依赖监控器取消了约5%的排名服务实验,占其取消总量的87%;依赖感知触发还将代码审查实验执行量减少了25%。结果表明,当尽可能隔离下游影响、必要时加以限制并持续监控归因时,高保真的生产连接实验可大规模运行。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。